Expand description
Rendering and error reporting implementation details.
Structs§
- Debug
Report Handler ReportHandler
that 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
ReportHandler
that displays a givenReport
in a quasi-graphical way, using terminal colors, unicode drawing characters, and other such things. - Graphical
Theme - Theme used by
GraphicalReportHandler
to render fancyDiagnostic
reports. - JSON
Report Handler ReportHandler
that renders JSON output. It’s a machine-readable output.- Narratable
Report Handler ReportHandler
that 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.