Enum gluon::Error []

pub enum Error {
    Parse(InFile<ParseError>),
    Typecheck(InFile<TypeError<Symbol>>),
    IO(Error),
    VM(Error),
    Macro(Error),
    Multiple(Errors<Error>),
}

Error type wrapping all possible errors that can be generated from gluon

Variants

Error found when parsing gluon code

Error found when typechecking gluon code

Error found when performing an IO action such as loading a file

Error found when executing code in the virtual machine

Error found when expanding macros

Multiple errors where found

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error

Formats the value using the given formatter.

impl Error for Error

A short description of the error. Read more

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

impl From<InFile<ParseError>> for Error

Performs the conversion.

impl From<InFile<TypeError<Symbol>>> for Error

Performs the conversion.

impl From<Error> for Error

Performs the conversion.

impl From<Error> for Error

Performs the conversion.

impl From<Error> for Error

Performs the conversion.

impl From<Errors<Error>> for Error
[src]

Performs the conversion.

impl From<Errors<Error>> for Error
[src]

Performs the conversion.