Expand description
Core traits for error handling and composition Core traits for error handling and composition.
This module consolidates the key traits used throughout error-rail.
Traitsยง
- Boxed
Result Ext - Extension trait for adding context to already-boxed
ComposableErrorresults. - Error
Category - Trait for types that can lift values and handle errors in a functorial way.
- Error
Ops - Operations for error recovery and bidirectional mapping.
- Into
Error Context - Converts a type into an
ErrorContextfor error annotation. - Result
Ext - Extension trait for ergonomic context addition to
Resulttypes. - Transient
Error - Classification of errors as transient or permanent.
- Transient
Error Ext - Extension methods for working with transient errors.
- With
Error - Abstraction over types that carry an error variant which can be remapped.