pub type UnindexedApiError = ApiError<AssetNameExchange, InstrumentNameExchange>;Expand description
Type alias for a ApiError that is keyed on AssetNameExchange and
InstrumentNameExchange (yet to be indexed).
Aliased Type§
pub enum UnindexedApiError {
AssetInvalid(AssetNameExchange, String),
InstrumentInvalid(InstrumentNameExchange, String),
RateLimit,
BalanceInsufficient(AssetNameExchange, String),
OrderRejected(String),
OrderAlreadyCancelled,
OrderAlreadyFullyFilled,
}Variants§
AssetInvalid(AssetNameExchange, String)
Provided asset identifier is invalid or not supported.
For example:
- The
AssetNameExchangewas an invalid format.
InstrumentInvalid(InstrumentNameExchange, String)
Provided instrument identifier is invalid or not supported.
For example:
- The exchange does not have a market for an instrument.
- The
InstrumentNameExchangewas an invalid format.