Expand description
Error types for the slashing crate.
Traces to: SPEC.md §17.1 (SlashingError).
§Design
A single SlashingError enum covers every verifier and state-machine
failure mode. Variants align 1:1 with the rows in SPEC §17.1 so
downstream callers (and adjudicators) can pattern-match without
stringly-typed discrimination.
New variants land as their DSL-NNN requirements are implemented. Each variant’s docstring points at the requirement that introduced it.
Enums§
- Slashing
Error - Every failure mode
dig-slashing’s verifiers, manager, and adjudicator can return.