Module utils::anytrace

source ·
Expand description

Error utilities, intended to function as a replacement to anyhow.

Modules§

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§

Enums§

Constants§

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 a Result

Functions§

Type Aliases§

  • Alias for the main Result type used by the crate.