Module leo_errors::errors

source ·
Expand description

Contains the errors and warnings for the Leo lang.

Re-exports

Modules

  • Contains the AST error definitions.
  • Contains the AST error definitions.
  • Contains the AST 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.