Skip to main content

Module report

Module report 

Source
Expand description

The Report type which reports errors nicely

Re-exportsยง

use std::error::Error as StdError; ๐Ÿ”’
use std::fmt; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Display; ๐Ÿ”’
use crate::sealed::Sealed; ๐Ÿ”’

Structsยง

Report
Wraps any Error, providing a nicely-reporting Display impl
ReportHelper
Helper type for reporting errors that are concrete implementors of StdError

Traitsยง

ErrorReport
Extension trait providing .report() method on concrete errors

Functionsยง

report_and_exit
Report the error E to stderr, and exit the program