Expand description
Rendering and error reporting implementation details.
Structs§
- Debug
Report Handler ReportHandlerthat renders plain text and avoids extraneous graphics. It’s optimized for screen readers and braille users, but is also used in any non-graphical environments, such as non-TTY output.- Graphical
Report Handler - A
ReportHandlerthat displays a givenReportin a quasi-graphical way, using terminal colors, unicode drawing characters, and other such things. - Graphical
Theme - Theme used by
GraphicalReportHandlerto render fancyDiagnosticreports. - JSON
Report Handler ReportHandlerthat renders JSON output. It’s a machine-readable output.- Narratable
Report Handler ReportHandlerthat renders plain text and avoids extraneous graphics. It’s optimized for screen readers and braille users, but is also used in any non-graphical environments, such as non-TTY output.- Print
Diagnostic - A type that can be used to render a super::Diagnostic via core::fmt::Display
Traits§
- Report
Handler - Error Report Handler trait for customizing
miette::Report
Functions§
- set_
hook - Set the error hook.
- set_
panic_ hook - Tells miette to render panics using its rendering engine.