Crate utils

source ·
Expand description

General (not HotShot-specific) utilities

Modules§

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

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.