Crate error_support

Source

Re-exports§

  • pub use backtrace;

Macros§

  • Tell the application to log a breadcrumb
  • All the error boilerplate (okay, with a couple exceptions in some cases) in one place.
  • Define a set of conversions from external error types into the provided error kind. Use define_error to do this at the same time as define_error_wrapper.
  • XXX - Most of this is now considered deprecated - only FxA uses it, and should be replaced with the facilities in the handling module.
  • Tell the application to report an error
  • Log a breadcrumb if we see an Result::Err value

Structs§

Traits§

Functions§

Attribute Macros§

  • A procedural macro that exposes internal errors to external errors the consuming applications should handle. It requires that the internal error implements [error_support::ErrorHandling].