Expand description
Crate extending functionality of the anyhow
crate
Modules§
- prelude
- A “prelude” of
failure_ext
crate.
Macros§
- err_
downcast - Downcast matching.
- err_
downcast_ ref - Downcast matching.
Structs§
- Compat
- Temporary immitation of
failure::Compat<T>
to ease migration. - Display
Chain - Shallow wrapper struct around anyhow::Error with std::fmt::Display implementation that shows the entire chain of errors
- SlogKV
Error - Wrapper around Error that implements slog::KV trait, so it might be used in slog logging
- SlogKV
Error Without Back Trace - Wrapper around Error that implements slog::KV trait, but without backtraces
Enums§
- SlogKV
Error Key - Enum used in slog::Serializer implementation when SlogKVError is used
Traits§
- Future
Error Context - “Context” support for futures.
- Stream
Error Context - “Context” support for streams.
Functions§
- cause
- Like Fail::cause, but handles SharedError whose Fail implementation does not return the right underlying error.