Expand description
Error reporting data structures and miette integration.
Structs§
- Label
- A label for a span within a json pointer or malformed string.
- Report
- An enriched error wrapper which captures the original error and the subject
(
String
orPointerBuf
) which caused it, for reporting purposes.
Traits§
- Diagnose
- An extension trait for
Result<_, E>
, whereE
is an implementation ofDiagnostic
, that convertsE
intoReport<E>
, yieldingResult<_, Report<E>>
. - Diagnostic
- Implemented by errors which can be converted into a
Report
.