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