Enum run_script::types::ScriptError
source · pub enum ScriptError {
IOError(Error),
FsIOError(FsIOError),
Description(&'static str),
}
Expand description
Holds the error information
Variants§
IOError(Error)
Root error
FsIOError(FsIOError)
Root error
Description(&'static str)
Description text of the error reason
Trait Implementations§
source§impl Debug for ScriptError
impl Debug for ScriptError
source§impl Display for ScriptError
impl Display for ScriptError
source§impl Error for ScriptError
impl Error for ScriptError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()