Skip to main content

Module error

Module error 

Source
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§

ConnectError
Initial connection failure.
DecodeError
Row/column decoding failure.
PoolError
Connection pool failure.
QueryError
Query execution failure. Contains the PostgreSQL error code when available.

Enums§

BsqlError
The error type for all bsql operations.

Type Aliases§

BsqlResult
Convenience alias used throughout bsql.