Crate saluki_error

Crate saluki_error 

Source
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§

ErrorContext
Helper methods for providing context on errors.

Type Aliases§

GenericError
A wrapper around a dynamic error type.