Module errors

Source

Macros§

anyhow
Construct an ad-hoc error from a string or existing non-anyhow error value.
bail
Return early with an error.
debug
Logs a message at the debug level.
error
Logs a message at the error level.
info
Logs a message at the info level.
trace
Logs a message at the trace level.
warn
Logs a message at the warn level.

Structs§

Error
The Error type, a wrapper around a dynamic error type.

Traits§

Context
Provides the context method for Result.

Type Aliases§

Result
Result<T, Error>