Skip to main content

Crate re_error

Crate re_error 

Source
Expand description

Helpers for error handling.

Structs§

StructuredError
An error message split into a short summary and a list of details.

Functions§

downcast_source
Walk the source chain of error (starting from error itself) and return the first source that can be downcast to T.
format
Format an error, including its chain of sources.
format_ref
Format an error, including its chain of sources.
format_with_details
Format an error with its details on trailing lines, one detail per line: {summary}\n- {detail}\n- {detail}\n….