pub enum MemberObservationError {
StaleIncarnation {
reason: String,
},
StaleCursor {
watermark: u64,
generation: u64,
},
FutureGenerationCursor {
requested: u64,
current: u64,
},
Unavailable {
reason: String,
},
OutcomeRecordTooLarge {
encoded_bytes: usize,
max_bytes: usize,
},
Internal {
reason: String,
},
}Expand description
Typed failure vocabulary for member observation serving.
Variants§
StaleIncarnation
The addressed host-member residency changed while the observation was
being served. Maps to the wire StaleFence authority rejection.
StaleCursor
The requested cursor position was pruned from the retained window
(structurally ring-only in v1 — a durable log never overruns). Maps
to the wire BridgeRejectionCause::StaleCursor.
FutureGenerationCursor
The cursor names a generation this host never issued (g > current;
restore-from-backup / split-brain shape). Fail closed — never serve
under a future-generation cursor (FLAG-P6E-12). Maps to the wire
BridgeRejectionCause::Internal with this diagnostic.
The observation substrate cannot serve this session right now
(unknown session, missing durable log, halted projection). Maps to
the wire BridgeRejectionCause::Unavailable (ADJ-P4-7 vocabulary).
OutcomeRecordTooLarge
A single outcome row cannot fit the independently bounded outcome protocol. Rejected before it reaches durable storage.
Internal
An invariant was violated while serving. Maps to Internal.
Trait Implementations§
Source§impl Debug for MemberObservationError
impl Debug for MemberObservationError
Source§impl Display for MemberObservationError
impl Display for MemberObservationError
Source§impl Error for MemberObservationError
impl Error for MemberObservationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()