Enum gluon::Error
[−]
pub enum Error { Parse(InFile<Error>), Typecheck(InFile<HelpError<Symbol>>), IO(Error), VM(Error), Macro(SpannedError), 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<HelpError<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(SpannedError)
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
impl From<InFile<Error>> for Error
impl From<InFile<HelpError<Symbol>>> for Error
impl From<Error> for Error
impl From<Error> for Error
impl From<SpannedError> for Error
fn from(err: SpannedError) -> Error
Performs the conversion.
impl From<String> for Error
[src]
impl From<Errors<SpannedError>> for Error
[src]
fn from(errors: Errors<SpannedError>) -> Error
[src]
Performs the conversion.