Crate debris_error
source ·Expand description
Compilation error handling
Exports the default Result type which is used throughout the compiler
Modules
- macros 🔒This module contains some macros for the most common error messages
- snippet 🔒Owned variants of the
annotate_snippets
library structs - utils 🔒
Macros
Structs
- A generic error which gets thrown when compiling
- An owned counterpart to the
annotate_snippets::Slice
struct - An owned counterpart to the
annotate_snippets::Snippet
struct - An owned counterpart to the
annotate_snippets::SourceAnnotation
struct
Enums
- Specifies a specific error reason
- Thrown when parsing bad input
- A Compile Error
Constants
- Used to determine whether the error messages should use console colors Or be plain text
Traits
Type Aliases
- A result type which allows quick error throwing since no span and other boilerplate is needed
- The result type used by most of the core functions