Expand description
A trait object-based error type based on anyhow
for ergonomic error handling.
This crate is a thin wrapper around anyhow
that provides a trait object-based error type, GenericError
, along
with helper extension traits and macros for ergonomically converting errors into GenericError
.
This crate is still interoperable with anyhow
, but is meant to be used as part of the comprehensive set of
Saluki-specific crates so that engineers do not need to necessarily know or care deeply about which specific
third-party crate to use for error handling.
Macros§
- generic_
error - Macro for constructing a generic error.
Traits§
- Error
Context - Helper methods for providing context on errors.
Type Aliases§
- Generic
Error - A wrapper around a dynamic error type.