Skip to main content

Module error

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§

NeonSqlError
The error body Neon’s /sql endpoint returns when Postgres rejects a statement.

Enums§

NeonError
How a Neon-backed store fails for its own reasons.