Expand description
The ledger’s states and error codes, the edges between states, and which rows a human may move by hand.
Structs§
- Hand
Action Availability - Which hand actions a row is offered, decided once on the server for every admin surface. Clearing the attention flag is refused only on a superseded row, so it is not in here.
- Resubmission
Facts - What decides whether a row may be moved by hand, read off whichever row type the caller has.
Enums§
- Check
NowTarget - What checking a row now brings forward.
- Credit
Registration Error Code - Why a ledger row is where it is;
statesays what happens to it next. - Credit
Registration State - What the pipeline does next with a ledger row.
- Pending
Supersession 🔒Effect - Resubmission
Availability - Whether a row may be sent again by hand.
- Resubmission
Refusal - Why
ResubmissionFactsrefuses a hand action on a row. - Resubmission
Risk - How a resend
ResubmissionFacts::resubmission_refusalallows may go wrong, which the admin surfaces warn about before it is confirmed. - Resubmission
Strictness - How far outside a failure
ResubmissionFacts::resubmission_refusalwill still allow a row to move back toready_to_submit.
Constants§
- ADMIN_
ONLY_ TARGETS - The edges only a hand transition may take, from any state
ResubmissionFacts::admin_transition_refusaldoes not refuse: putting a row back on the pipeline, and writing one off.