Module http_whatever::prelude

source ·
Expand description

A prelude of the main items required to use this type effectively.

This includes the important items from the snafu prelude, so you do not have to include the snafu prelude.

Re-exports

Macros

  • Ensure a condition is true. If it is not, return from the function with an error.
  • Ensure a condition is true. If it is not, return a stringly-typed error message.
  • A macro to help format the standard message strings used by this error type.
  • Instantiate and return a stringly-typed error message.