Enum mrusty::MrubyError [] [src]

pub enum MrubyError {
    Cast(String),
    Undef,
    Runtime(String),
    Filetype,
    Io(Error),
}

An enum containing all possbile types of errors.

Variants

Cast(String)

type cast error

Undef

undefined type error

Runtime(String)

mruby runtime error

Filetype

unrecognized file type error

Io(Error)

Rust Io error

Trait Implementations

impl Debug for MrubyError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for MrubyError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for MrubyError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more

impl From<Error> for MrubyError
[src]

fn from(err: Error) -> MrubyError

Performs the conversion.