Skip to main content

Module error

Module error 

Source
Expand description

Domain error types for simraft-core.

Every error carries concrete diagnostic context (the offending values, the required bounds, the conflicting fields), never a bare variant name. See invariant E-01 in docs/INVARIANTS.md.

Enumsยง

ConfigError
A cluster configuration failed validation.
ProtocolError
A protocol-level rejection with the deciding values named.
SnapshotError
A snapshot transfer failed. The variant names the snapshot identity and the offsets that decided the failure (docs/ARCHITECTURE.md section 13).