Expand description
Utilities to implement diagnostics and error reporting facilities.
Structs§
- Diag
Builder2 - Diagnostic
Builder - Used to emit structured error messages.
- Handler
- A handler deals with errors.
Enums§
Statics§
Traits§
- Diag
Emitter - Emits diagnostic messages.
- Emit
Error - Emit errors as diagnostics.
Type Aliases§
- Diag
Result - A diagnostic result type. Either carries the result
T
in the Ok variant, or an assembled diagnostic in the Err variant. - Diag
Result2 - A diagnostic result type. Either carries the result
T
in the Ok variant, or an assembled diagnostic in the Err variant.