DriverError encapsulates the PostgreSQL error data.
| 52 | |
| 53 | // DriverError encapsulates the PostgreSQL error data. |
| 54 | type 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. |
| 64 | func (e *DriverError) Attributes() []any { |
nothing calls this directly
no outgoing calls
no test coverage detected