Expand description
Error utilities, intended to function as a replacement to anyhow
.
Modules§
- macros 🔒Macros
Macros§
- Return an error.
- Create an error at the debug level.
- Check that the given condition holds, otherwise return an error.
- Create an error at the error level.
- Create an error at the info level.
- Print the file and line number of the location this macro is invoked
- Log a
anytrace::Error
at the corresponding level. - Create an error at the trace level.
- Create an error at the warn level.
Structs§
- main error type
Enums§
- Possible log levels
Constants§
- Default log level for the crate
Traits§
- Trait for converting error types to a
Result<T>
. - Trait for logging errors
- Trait for a
std::result::Result
that can be wrapped into aResult
Functions§
- Prepend an error to its cause
Type Aliases§
- Alias for the main
Result
type used by the crate.