Enum hyper_scripter::error::Error
source · pub enum Error {
Show 23 variants
Others(Vec<String>, Option<Arc<dyn Send + Sync + Error + 'static>>),
SysPathNotFound(SysPath),
EmptyCreate,
PermissionDenied(Vec<PathBuf>),
PathNotFound(Vec<PathBuf>),
GeneralFS(Vec<PathBuf>, Arc<Error>),
PathExist(PathBuf),
ScriptExist(String),
ScriptIsFiltered(String),
ScriptNotFound(String),
NoAlias(String),
UnknownType(String),
Format(FormatCode, String),
ScriptError(i32),
PreRunError(i32),
EditorError(i32, Vec<String>),
RedundantOpt(RedundantOpt),
TagSelectorNotFound(String),
DontFuzz,
NoPreviousArgs,
Empty,
Caution,
Completion,
}
Variants§
Others(Vec<String>, Option<Arc<dyn Send + Sync + Error + 'static>>)
SysPathNotFound(SysPath)
EmptyCreate
PermissionDenied(Vec<PathBuf>)
PathNotFound(Vec<PathBuf>)
GeneralFS(Vec<PathBuf>, Arc<Error>)
PathExist(PathBuf)
ScriptExist(String)
ScriptIsFiltered(String)
ScriptNotFound(String)
NoAlias(String)
UnknownType(String)
Format(FormatCode, String)
ScriptError(i32)
PreRunError(i32)
EditorError(i32, Vec<String>)
RedundantOpt(RedundantOpt)
TagSelectorNotFound(String)
DontFuzz
NoPreviousArgs
Empty
Caution
Completion
Implementations§
Trait Implementations§
source§impl From<Error> for DisplayError
impl From<Error> for DisplayError
source§impl From<RedundantOpt> for Error
impl From<RedundantOpt> for Error
source§fn from(opt: RedundantOpt) -> Self
fn from(opt: RedundantOpt) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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