Module reporting

Module reporting 

Source
Expand description

Rendering and error reporting implementation details.

Structs§

DebugReportHandler
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.
GraphicalReportHandler
A ReportHandler that displays a given Report in a quasi-graphical way, using terminal colors, unicode drawing characters, and other such things.
GraphicalTheme
Theme used by GraphicalReportHandler to render fancy Diagnostic reports.
JSONReportHandler
ReportHandler that renders JSON output. It’s a machine-readable output.
NarratableReportHandler
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.
PrintDiagnostic
A type that can be used to render a super::Diagnostic via core::fmt::Display

Traits§

ReportHandler
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.

Type Aliases§

DefaultReportHandler
ReportHandlerOpts