Skip to main content

Module types

Module types 

Source
Expand description

Utility types for error-chain interoperability, classification, and diagnostic display.

Frequently used error types are exported at the crate root. Exception frames and type erasure live in crate::exn.

Structs§

ChainedError
A generic error which represents a linked-list of errors and exposes it with source(). It’s meant to be the target of a conversion of any Exn error tree.
Classification
A semantic class together with the concrete error which established it.
Classifications
A lazy iterator over classified causes. Its predicates consume the remaining iterator and stop at the first match.
DisplaySource
A borrowed error together with its optional caller location, intended for diagnostic display.