Enum hyper_scripter::error::Error
source ·
[−]pub enum Error {
Show 20 variants
Others(Vec<String>, Option<Arc<dyn Send + Sync + Error + 'static>>),
SysPathNotFound(SysPath),
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),
TagFilterNotFound(String),
DontFuzz,
Empty,
Completion,
}
Variants
Others(Vec<String>, Option<Arc<dyn Send + Sync + Error + 'static>>)
SysPathNotFound(SysPath)
Tuple Fields
0: SysPath
PermissionDenied(Vec<PathBuf>)
PathNotFound(Vec<PathBuf>)
GeneralFS(Vec<PathBuf>, Arc<Error>)
PathExist(PathBuf)
Tuple Fields
0: PathBuf
ScriptExist(String)
Tuple Fields
0: String
ScriptIsFiltered(String)
Tuple Fields
0: String
ScriptNotFound(String)
Tuple Fields
0: String
NoAlias(String)
Tuple Fields
0: String
UnknownType(String)
Tuple Fields
0: String
Format(FormatCode, String)
ScriptError(i32)
Tuple Fields
0: i32
PreRunError(i32)
Tuple Fields
0: i32
EditorError(i32, Vec<String>)
RedundantOpt(RedundantOpt)
Tuple Fields
0: RedundantOpt
TagFilterNotFound(String)
Tuple Fields
0: String
DontFuzz
Empty
Completion
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more