Module errors

Source
Expand description

Contains the errors and warnings for the Leo language.

Re-exportsยง

pub use self::ast::*;
pub use self::cli::*;
pub use self::compiler::*;
pub use self::flattener::*;
pub use self::loop_unroller::*;
pub use self::interpreter_halt::*;
pub use self::package::*;
pub use self::parser::*;
pub use self::static_analyzer::*;
pub use self::type_checker::*;
pub use self::utils::*;

Modulesยง

ast ๐Ÿ”’
Contains the AST error definitions.
cli ๐Ÿ”’
Contains the CLI error definitions.
compiler ๐Ÿ”’
Contains the Compiler error definitions.
flattener ๐Ÿ”’
Contains the Flattener error definitions.
interpreter_halt ๐Ÿ”’
loop_unroller ๐Ÿ”’
Contains the Loop Unroller error definitions. This module contains the loop unroller error definitions.
package ๐Ÿ”’
Contains the Package error definitions.
parser ๐Ÿ”’
Contains the Parser error definitions.
static_analyzer ๐Ÿ”’
Contains the Static Analyzer error definitions.
type_checker ๐Ÿ”’
Contains the Type Checker error definitions.
utils ๐Ÿ”’
Contains the Utils error definitions.

Enumsยง

LeoError
The LeoError type that contains all sub error types. This allows a unified error type throughout the Leo crates.
LeoWarning
The LeoWarning type that contains all sub warning types. This allows a unified warning type throughout the Leo crates.

Type Aliasesยง

Result
A global result type for all Leo crates, that defaults the errors to be a LeoError.