macro_rules! error { ($err_variant:ident, $fmt_str: literal $(,$arg: expr)*) => { ... }; }
Expand description
This macro can only be used for Error
variants that have a String
field.
Those are: IO
, Codec
, Provider
, Other
.
macro_rules! error { ($err_variant:ident, $fmt_str: literal $(,$arg: expr)*) => { ... }; }
This macro can only be used for Error
variants that have a String
field.
Those are: IO
, Codec
, Provider
, Other
.