Expand description
library error types with re-export error from rust-postgres
this crate only exposes a single Error type from API where type erase is used to hide complexity
Structs§
Response
has already finished. Polling it afterwards will cause this error.- A Postgres error or notice.
- driver shutdown outcome can contain multiple io error for detailed read/write errors.
- public facing error type. providing basic format and display based error handling.
- A SQLSTATE error code
- work in progress error type with thread backtrace. use
RUST_BACKTRACE=1
env when starting your program to enable capture and format - error for database returning backend message type that is not expected. it indicates there might be protocol error on either side of the connection.
- An error indicating that a
NULL
Postgres value was passed to aFromSql
implementation that does not supportNULL
values. - An error indicating that a conversion was attempted between incompatible Rust and Postgres types.
Enums§
- error happens when library user failed to provide valid authentication info to database server.
- error happens when
Config
fail to provide necessary information. - Represents the position of an error in a query.
- The severity of a Postgres error or notice.