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 asdefine_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§
- Specifies how an “internal” error is converted to an “external” public error and any logging or reporting that should happen.
- Describes what error reporting action should be taken.
Traits§
- Application error reporting trait
- A trait to define how errors are converted and reported.
Functions§
- Handle the specified “internal” error, taking any logging or error reporting actions and converting the error to the public error. Called by our
handle_error
macro so needs to be public. - Redact compact jwe string (Five base64 segments, separated by
.
chars) - Redact a URL.
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
].