Enum hyper_scripter::error::Error [−][src]
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
SysPathNotFound(SysPath)
Tuple Fields of SysPathNotFound
0: SysPath
PathExist(PathBuf)
Tuple Fields of PathExist
0: PathBuf
ScriptExist(String)
Tuple Fields of ScriptExist
0: String
ScriptIsFiltered(String)
Tuple Fields of ScriptIsFiltered
0: String
ScriptNotFound(String)
Tuple Fields of ScriptNotFound
0: String
NoAlias(String)
Tuple Fields of NoAlias
0: String
UnknownType(String)
Tuple Fields of UnknownType
0: String
Format(FormatCode, String)
Tuple Fields of Format
0: FormatCode
1: String
ScriptError(i32)
Tuple Fields of ScriptError
0: i32
PreRunError(i32)
Tuple Fields of PreRunError
0: i32
RedundantOpt(RedundantOpt)
Tuple Fields of RedundantOpt
0: RedundantOpt
TagFilterNotFound(String)
Tuple Fields of TagFilterNotFound
0: String
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