Module error
Expand description
How a Neon-backed store fails.
Five of the six variants correspond to a distinct thing that can go wrong on
a single HTTP round trip, and they are distinct because a caller acts
differently on each. The sixth,
InvalidPosition, is the impedance mismatch
between Postgres’ signed bigint and
SequencePosition’s NonZeroU64.
AppendError::ConditionViolated
is deliberately absent: the DCB concurrency signal is not an adapter failure
and lives in the contract crate’s enum, not this one.
Structs§
- Neon
SqlError - The error body Neon’s
/sqlendpoint returns when Postgres rejects a statement.
Enums§
- Neon
Error - How a Neon-backed store fails for its own reasons.