Expand description
What a Suotar per-item code means: the one place the wire vocabulary is spelled out, and the
one place retryability is decided. The mock Suotar’s fault validator reads it too. Timing (how
long to wait) is super::backoff.
Enums§
- Retryability
- What may be done about an error code. The class is the contract’s, not the endpoint’s: the
import phase is the only place that upgrades a code to
Retryability::VerifyOnly. - Wire
Outcome - What one
codesays about the row that carries it. Every view below narrows this.
Functions§
- is_
retryable_ transient_ wire_ code - map_
code - Suotar’s per-item
codeas a ledger error code, hardened for the endpoint it arrived on.Nonewhere the code names no failure to record. - outcome_
of wire_outcomehardened for the endpoint the code arrived on. Every caller that has an endpoint to name goes through here.- retryability
- settled_
state - The state a
codesettles a row in, orNonewhere it settles nothing. - wire_
code_ retryability - The class the contract gives a wire code, before any hardening of ours, which is what the mock’s fault validator needs.
- wire_
outcome 🔒 - The contract’s own reading of a
code, before any hardening of ours.