Expand description
A simple, universal error type for Rust
Re-exports§
pub use cause::Cause;pub use convert::ErrorContext;pub use convert::ErrorContextDisplay;pub use convert::MapKind;pub use convert::ResultContext;pub use convert::ResultContextDisplay;
Modules§
- cause
- Module to analyze the cause chain of an error.
- convert
- Module for converting between error types.
Structs§
- UniError
- A custom error type that can be used to return an error with a custom error kind.
Traits§
- UniKind
- A trait that specifies a custom error kind. Any specified to facilitate downcasting.
- UniKind
Code - A
UniKindthat has a typed code. - UniKind
Codes - A
UniKindthat has a two typed codes.
Type Aliases§
- DynCode
Error - A dynamic error type that specifies a dynamic kind and code.
- DynCode
Result - A result type that specifies a dynamic kind and code.
- DynCodes
Error - A dynamic error type that specifies a dynamic kind and two codes.
- DynCodes
Result - A result type that specifies a dynamic kind and two codes.
- DynError
- A dynamic error type that specifies a dynamic kind.
- DynResult
- A result type that specifies a dynamic kind.
- Simple
Error - An error type that is used when there is no kind.
- Simple
Result - A result type that specifies no kind.
- UniResult
- A result type that specifies a customkind.