Expand description
BOLT#4-style error taxonomy for CALL failures, ported from
src/peering/macula_bolt4.erl (macula-io/macula) — see
plans/PLAN_WIRE_PROTOCOL.md §9. Adapted from Lightning Network’s
BOLT#4 onion-failure codes: a small, specific taxonomy that prevents
retry loops and enables post-mortem, rather than an open-ended error
string. Codes are stable across V2 minor versions; new codes append
at the next free integer.
The retry policy is advisory — a caller’s own CALL state machine is the actual decision point (not implemented by this module).
Enums§
- Code
- The 17 codes macula’s own
table/0defines, in order.