MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / DriverError

Struct DriverError

pkg/util/store/error.go:54–61  ·  view source on GitHub ↗

DriverError encapsulates the PostgreSQL error data.

Source from the content-addressed store, hash-verified

52
53// DriverError encapsulates the PostgreSQL error data.
54type DriverError struct {
55 Code string
56 Message string
57 Detail string
58 Table string
59 Column string
60 Constraint string
61}
62
63// Attributes gets the DriverError attributes.
64func (e *DriverError) Attributes() []any {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected