pub enum OmegaError {
IntelligenceNotFound(String),
MemoryNotFound(String),
LoopNotFound(String),
InvalidTier(String),
InvalidLoopType(String),
OperationFailed(String),
SerializationError(Error),
Unknown(String),
}Variants§
IntelligenceNotFound(String)
MemoryNotFound(String)
LoopNotFound(String)
InvalidTier(String)
InvalidLoopType(String)
OperationFailed(String)
SerializationError(Error)
Unknown(String)
Trait Implementations§
Source§impl Debug for OmegaError
impl Debug for OmegaError
Source§impl Display for OmegaError
impl Display for OmegaError
Source§impl Error for OmegaError
impl Error for OmegaError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for OmegaError
impl !UnwindSafe for OmegaError
impl Freeze for OmegaError
impl Send for OmegaError
impl Sync for OmegaError
impl Unpin for OmegaError
impl UnsafeUnpin for OmegaError
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