error_support

Macro define_error_wrapper

source
macro_rules! define_error_wrapper {
    ($Kind:ty) => { ... };
}
Expand description

XXX - Most of this is now considered deprecated - only FxA uses it, and should be replaced with the facilities in the handling module.

Define a wrapper around the the provided ErrorKind type. See also define_error which is more likely to be what you want.