pub enum DsfbError {
Show 14 variants
DimensionMismatch {
expected: usize,
got: usize,
},
BaselineNotEstablished,
InvalidEnvelopeRadius {
signal_index: usize,
},
WindowOutOfRange {
index: u64,
},
EpisodeBufferFull,
SignalBufferFull,
HistoryBufferFull,
HeuristicsBankFull,
InvalidConfig(&'static str),
ParseError {
record: u64,
field: u16,
},
InsufficientBaselineData {
available: usize,
required: usize,
},
BufferTooSmall {
needed: usize,
available: usize,
},
MissingRealData,
HashMismatch,
}Expand description
All errors the DSFB engine can produce. No heap allocation — all variants are Copy.
Variants§
DimensionMismatch
Input slice length does not match expected signal count
BaselineNotEstablished
Baseline has not been established (healthy window not computed)
InvalidEnvelopeRadius
Envelope radius is zero or negative for a signal
WindowOutOfRange
Window index is out of range for history buffer
EpisodeBufferFull
Episode buffer is full — increase MAX_EPISODES
SignalBufferFull
Signal buffer is full — increase MAX_SIGNALS
HistoryBufferFull
History buffer is full — increase MAX_WINDOWS
HeuristicsBankFull
Heuristics bank is full — increase MAX_MOTIFS
InvalidConfig(&'static str)
Configuration parameter is invalid
ParseError
Dataset parse error at a specific record
InsufficientBaselineData
Insufficient healthy-window data for baseline
BufferTooSmall
Internal flat-aggregation buffer too small for the requested
num_signals * num_windows. Returned at run_evaluation entry.
MissingRealData
paper-lock real-data evaluation requested but the supplied fixture
bytes are empty. Never falls back to synthetic data.
HashMismatch
SHA-256 of supplied fixture bytes does not match the manifest’s
fixture_sha256. Indicates tampering or upstream drift; the
engine refuses to proceed.