Module err

Module err 

Source
Expand description

Error interface for this crate.

This module creates an Error trait implemented by error types in this crate.

The error trait extends the standard library’s std::error::Error type by adding a help method (to help assist the user in fixing the issue), and a span method (to point to where the error occurs).

Re-exports§

pub use crate::asm::AsmErr;
pub use crate::ast::OffsetNewErr;
pub use crate::parse::lex::LexErr;
pub use crate::parse::ParseErr;
pub use crate::sim::SimErr;

Enums§

ErrSpan
The possible source ranges for an error.

Traits§

Error
Unified error interface for all errors in this crate.