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: InvalidData, InvalidType, InfrastructureError,
InstantiationError, WalletError, ProviderError