Enum hyper_scripter::error::Error
source · pub enum Error {
Show 22 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,
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
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.