Module errors
Available on crate features
__ecma
and __utils
only.Modules§
Structs§
- Archived
Code Suggestion - An archived
CodeSuggestion
- Archived
Substitution - An archived
Substitution
- Archived
Substitution Part - An archived
SubstitutionPart
- Code
Suggestion - Code
Suggestion Resolver - The resolver for an archived
CodeSuggestion
- Diagnostic
- Represents a diagnostic message with its level, message, unique identifier, span, children, and suggestions.
- Diagnostic
Builder - Used for emitting structured error messages and other diagnostic information.
- Diagnostic
Styled String - Emitter
Writer - Implementation of Emitter which pretty-prints the errors.
- Explicit
Bug - Signifies that the compiler died with an explicit call to
.bug
or.span_bug
rather than a failed assertion, etc. - Fatal
Error - Used as a return value to signify a fatal error occurred. (It is also used as the argument to panic at the moment, but that will eventually not be true.)
- Fatal
Error Marker - Handler
- A handler deals with errors; certain errors (fatal, bug, unimpl) may cause immediate exit, others log errors for later reporting.
- Handler
Flags - Message
- SubDiagnostic
- For example a note attached to an error.
- Substitution
- See the docs on
CodeSuggestion::substitutions
- Substitution
Part - Substitution
Part Resolver - The resolver for an archived
SubstitutionPart
- Substitution
Resolver - The resolver for an archived
Substitution
Enums§
- Applicability
- Applicability
Resolver - The resolver for an archived
Applicability
- Archived
Applicability - An archived
Applicability
- Archived
Level - An archived
Level
- Color
Config - Diagnostic
Id - Level
- Level
Resolver - The resolver for an archived
Level
- Style
Constants§
Statics§
- HANDLER
- Used for error reporting in transform.
Traits§
- Emitter
- Emitter trait for emitting errors.
- Source
Mapper