pub enum RuntimeError {
Show 15 variants
Storage(StorageError),
Sqlite(SqliteError),
Query(QueryError),
NotFound(String),
InvalidInput(String),
Unconfigured(String),
Embedding(EmbedError),
Ambiguous(String),
Internal(String),
MissingPackDependency(MissingPackDependency),
MissingPackDependencies(MissingPackDependencies),
CircularPackDependency(CircularPackDependency),
PackRedeclared {
name: String,
first_idx: usize,
second_idx: usize,
},
PermissionDenied {
verb: String,
reason: String,
},
Khive(KhiveError),
}Variants§
Storage(StorageError)
Sqlite(SqliteError)
Query(QueryError)
NotFound(String)
InvalidInput(String)
Unconfigured(String)
Embedding(EmbedError)
Ambiguous(String)
Internal(String)
MissingPackDependency(MissingPackDependency)
MissingPackDependencies(MissingPackDependencies)
CircularPackDependency(CircularPackDependency)
PackRedeclared
PermissionDenied
Gate denied this verb invocation (ADR-035).
Returned by VerbRegistry::dispatch when the configured Gate returns
GateDecision::Deny. The pack is never invoked. The reason field
carries the deny message produced by the gate implementation.
Khive(KhiveError)
A structured khive_types::KhiveError converted into the runtime
layer. The full structured error is preserved so callers can inspect
kind, code, details, and retry_hint without information loss.
Trait Implementations§
Source§impl Debug for RuntimeError
impl Debug for RuntimeError
Source§impl Display for RuntimeError
impl Display for RuntimeError
Source§impl Error for RuntimeError
impl Error for RuntimeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<EmbedError> for RuntimeError
impl From<EmbedError> for RuntimeError
Source§fn from(source: EmbedError) -> Self
fn from(source: EmbedError) -> Self
Converts to this type from the input type.
Source§impl From<KhiveError> for RuntimeError
impl From<KhiveError> for RuntimeError
Source§fn from(e: KhiveError) -> Self
fn from(e: KhiveError) -> Self
Converts to this type from the input type.
Source§impl From<QueryError> for RuntimeError
impl From<QueryError> for RuntimeError
Source§fn from(source: QueryError) -> Self
fn from(source: QueryError) -> Self
Converts to this type from the input type.
Source§impl From<SqliteError> for RuntimeError
impl From<SqliteError> for RuntimeError
Source§fn from(source: SqliteError) -> Self
fn from(source: SqliteError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for RuntimeError
impl From<StorageError> for RuntimeError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuntimeError
impl !RefUnwindSafe for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl UnsafeUnpin for RuntimeError
impl !UnwindSafe for RuntimeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more