Skip to main content

Module errors

Module errors 

Source
Expand description

The ledger error vocabulary.

Errors are data (no wrapped source types) so an crate::Outcome is Clone + PartialEq + Eq and a replay can be asserted byte-identical to the original — the property the idempotency proptests lean on.

Enums§

LedgerError
Every way a ledger operation can fail. All variants are deterministic functions of (current state, op) so a replay reproduces them exactly.