Enum gluon::Error[]

pub enum Error {
    Parse(InFile<Error>),
    Typecheck(InFile<HelpError<Symbol>>),
    IO(Error),
    VM(Error),
    Macro(InFile<Error>),
    Other(Box<StdError + Send + Sync>),
    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

Methods

impl Error
[src]

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

This method is soft-deprecated. Read more

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

impl From<InFile<Error>> for Error

Performs the conversion.

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

Performs the conversion.

impl From<Error> for Error

Performs the conversion.

impl From<Error> for Error

Performs the conversion.

impl From<InFile<Error>> for Error

Performs the conversion.

impl From<Box<StdError + Send + Sync>> for Error

Performs the conversion.

impl From<String> for Error
[src]

Performs the conversion.

impl From<Errors<Spanned<Error, BytePos>>> for Error
[src]

Performs the conversion.

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

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error