Module report_error

Source
Expand description

This module manages the step of turning error types into printed error messages

Relies on the miette crate for pretty layout

Structs§

ReportLog
A bloom-filter like structure to store the hashes of warnings, without actually permanently storing the entire warning in memory. May rarely result in warnings incorrectly being unreported upon hash collision.

Enums§

ReportMode
How a warning/error should be reported

Traits§

Reportable
For warnings/errors which have a ReportMode that dictates when they are reported

Functions§

format_cli_error
report_compile_error
report_experimental_option_warning
report_parse_error
report_parse_warning
report_shell_error
report_shell_warning