pub fn exchange_error(msg: impl ToErrorMessage) -> ExchangeError
Creates a ExchangeError exchange error.
ExchangeError