[−][src]Crate failure_ext
Re-exports
pub use failure; |
Modules
prelude | A "prelude" of |
Macros
err_downcast | Downcast matching. |
err_downcast_ref | Downcast matching. |
Structs
Compat | Temporary immitation of failure::Compat |
DisplayChain | Shallow wrapper struct around anyhow::Error with std::fmt::Display implementation that shows the entire chain of errors |
SlogKVError | Wrapper around Error that implements slog::KV trait, so it might be used in slog logging |
Enums
SlogKVErrorKey | Enum used in slog::Serializer implementation when SlogKVError is used |
Traits
FutureFailureErrorExt | "Context" support for futures where the error is anyhow::Error. |
FutureFailureExt | "Context" support for futures where the error is an implementation of std::error::Error. |
StreamFailureErrorExt | "Context" support for streams where the error is an implementation of anyhow::Error. |
StreamFailureExt | "Context" support for streams where the error is an implementation of std::error::Error. |
Functions
cause | Like Fail::cause, but handles SharedError whose Fail implementation does not return the right underlying error. |
convert | Convert error implementing failure::Fail to anyhow::Error |