Expand description
Error types for bsql.
BsqlError is the single error type returned by all bsql operations.
It has four variants matching the four failure modes of a database operation:
pool, query execution, data decoding, and initial connection.
Structs§
- Connect
Error - Initial connection failure.
- Decode
Error - Row/column decoding failure.
- Pool
Error - Connection pool failure.
- Query
Error - Query execution failure. Contains the PostgreSQL error code when available.
Enums§
- Bsql
Error - The error type for all bsql operations.
Type Aliases§
- Bsql
Result - Convenience alias used throughout bsql.