Structs§
- Boxed
Error - An opaque boxed error based on errors that implement ErrorExt trait.
- Plain
Error - Error type with plain error message
- Whatever
- Whatever
Snafu 🔒 - SNAFU context selector for the
Whatevererror
Enums§
- Retry
Hint - Describes whether an error instance is safe and useful to retry.
Constants§
Traits§
- Error
Ext - Extension to
Errorin std. - Stack
Error
Functions§
- error_
chain_ 🔒root - Returns the root cause of an error’s source chain, i.e. the last error
reachable via
std::error::Error::source. For an error without any source the error itself is returned. - retry_
hint_ from_ io_ error - Converts a
std::io::Errorinto a conservativeRetryHint.
Type Aliases§
- Whatever
Result - A simple Result of which the error is convertible from ErrorExt (which every GreptimeDB
error implements). Use this if you are tired of writing
unwraps in test codes, that you can use the?on all GreptimeDB errors.