macro_rules! define_exchange_error {
($ErrorType:ident { $($unique_variant:tt)* }) => { ... };
}Expand description
Generates a per-exchange error enum with the five variants every exchange
shares (Http, Api, RateLimited, AuthRequired, MarketNotFound),
plus any exchange-specific variants passed in the body.