Enum gluon::Error
[−]
pub enum Error { Parse(InFile<Error>), 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
Parse(InFile<Error>)
Error found when parsing gluon code
Typecheck(InFile<TypeError<Symbol>>)
Error found when typechecking gluon code
IO(Error)
Error found when performing an IO action such as loading a file
VM(Error)
Error found when executing code in the virtual machine
Macro(Error)
Error found when expanding macros
Multiple(Errors<Error>)
Multiple errors where found
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more