pub enum TectonError {
Config(String),
InvalidInput(String),
NotFound(String),
Storage(String),
Compute(String),
Io(Error),
Serde(Error),
Internal(String),
}Expand description
Top-level error type shared by storage, compute, and CLI layers.
Variants§
Config(String)
InvalidInput(String)
NotFound(String)
Storage(String)
Compute(String)
Io(Error)
Serde(Error)
Internal(String)
Implementations§
Trait Implementations§
Source§impl Debug for TectonError
impl Debug for TectonError
Source§impl Display for TectonError
impl Display for TectonError
Source§impl Error for TectonError
impl Error for TectonError
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<ConfigError> for TectonError
impl From<ConfigError> for TectonError
Source§fn from(value: ConfigError) -> Self
fn from(value: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for TectonError
impl From<Error> for TectonError
Auto Trait Implementations§
impl !RefUnwindSafe for TectonError
impl !UnwindSafe for TectonError
impl Freeze for TectonError
impl Send for TectonError
impl Sync for TectonError
impl Unpin for TectonError
impl UnsafeUnpin for TectonError
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