pub enum ZulaError {
Io(Error),
InvalidCmd(String),
CommandEmpty,
InvalidDir,
RecursiveAlias,
InvalidPlugin,
LibErr(Error),
Opaque(Box<dyn Error + Send + Sync>),
}Expand description
The zula shell error type. All errors can be converted to the Opaque variant.
Variants§
Io(Error)
InvalidCmd(String)
CommandEmpty
InvalidDir
RecursiveAlias
InvalidPlugin
LibErr(Error)
Opaque(Box<dyn Error + Send + Sync>)
Trait Implementations§
Source§impl Error for ZulaError
impl Error for ZulaError
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 ZulaError
impl !UnwindSafe for ZulaError
impl Freeze for ZulaError
impl Send for ZulaError
impl Sync for ZulaError
impl Unpin for ZulaError
impl UnsafeUnpin for ZulaError
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