Module leo_errors::errors
source · Expand description
Contains the errors and warnings for the Leo lang.
Re-exports
pub use self::ast::*;
pub use self::cli::*;
pub use self::compiler::*;
pub use self::flattener::*;
pub use self::input::*;
pub use self::package::*;
pub use self::parser::*;
pub use self::type_checker::*;
Modules
- Contains the AST error definitions.
- Contains the CLI error definitions.
- Contains the Compiler error definitions.
- Contains the Flattener error definitions.
- Contains the Input error definitions.
- Contains the Package error definitions.
- Contains the Parser error definitions.
- Contains the Type Checker error definitions.
Enums
- The LeoError type that contains all sub error types. This allows a unified error type throughout the Leo crates.
- The LeoWarning type that contains all sub error types. This allows a unified error type throughout the Leo crates.
Type Definitions
- A global result type for all Leo crates, that defaults the errors to be a LeoError.