Enum exc_core::error::ExchangeError
source · pub enum ExchangeError {
Layer(Box<dyn Error + Send + Sync>),
Http(Error),
Other(Error),
Api(Error),
Unavailable(Error),
Instrument(InstrumentError),
RateLimited(Error),
KeyError(Error),
OrderNotFound,
Forbidden(Error),
}Expand description
Exchange Errors.
Variants§
Layer(Box<dyn Error + Send + Sync>)
Error from layers.
Http(Error)
Http errors.
Other(Error)
All other errors.
Api(Error)
All other api errors.
Unavailable.
Instrument(InstrumentError)
Instrument errors.
RateLimited(Error)
Rate limited.
KeyError(Error)
API Key error.
OrderNotFound
Order not found.
Forbidden(Error)
Forbidden.
Implementations§
Trait Implementations§
source§impl Debug for ExchangeError
impl Debug for ExchangeError
source§impl Display for ExchangeError
impl Display for ExchangeError
source§impl Error for ExchangeError
impl Error for ExchangeError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()