pub enum AreevError {
Show 17 variants
NotFound(Hash),
Format(String),
Validation(String),
Serialization(String),
ToolRenderUnsupported(String),
Storage(String),
StoreBusy(String),
SupersessionConflict(Hash),
CryptoError(String),
AccumulateRetryExhausted,
AccumulateInternal(String),
AccumulateBackpressureRejected,
Internal(String),
AuthzDenied(String),
AuthzUnknownPrincipal(String),
AuthzConfigInvalid(String),
AuthzTokenUnrecognized,
}Expand description
All errors in areev-core.
Variants§
NotFound(Hash)
Format(String)
Validation(String)
Serialization(String)
ToolRenderUnsupported(String)
Storage(String)
StoreBusy(String)
Another writer holds this memory (single-writer-per-memory is enforced, not advisory, on backends that can arbitrate it).
SupersessionConflict(Hash)
CryptoError(String)
AccumulateRetryExhausted
AccumulateInternal(String)
AccumulateBackpressureRejected
Internal(String)
AuthzDenied(String)
A verb the session’s grants don’t cover (authz::AuthzSet::check).
AuthzUnknownPrincipal(String)
A principal name no credential authenticates.
AuthzConfigInvalid(String)
The credential map failed to load or validate (fail closed).
AuthzTokenUnrecognized
A presented bearer token matched no credential. Deliberately carries no payload: a refused secret must never reach a log line.
Implementations§
Source§impl AreevError
impl AreevError
Sourcepub fn code(&self) -> &'static str
pub fn code(&self) -> &'static str
Stable machine-readable error code in DOMAIN-Ennn form (see the
repo-root ERROR_CODES.md registry). Every Display string begins
with this code, so a user who reports the leading token points us at
the exact variant and subsystem. Codes are append-only debugging
handles — never renumber or reuse an existing one.
Trait Implementations§
Source§impl Debug for AreevError
impl Debug for AreevError
Source§impl Display for AreevError
impl Display for AreevError
Source§impl Error for AreevError
impl Error for AreevError
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()