Skip to main content

UnindexedOrderError

Type Alias UnindexedOrderError 

Source
pub type UnindexedOrderError = OrderError<AssetNameExchange, InstrumentNameExchange>;
Expand description

Type alias for a OrderError that is keyed on AssetNameExchange and InstrumentNameExchange (yet to be indexed).

Aliased Type§

pub enum UnindexedOrderError {
    Connectivity(ConnectivityError),
    Rejected(ApiError<AssetNameExchange, InstrumentNameExchange>),
}

Variants§

§

Connectivity(ConnectivityError)

Connectivity-based error (timeout, socket failure, exchange offline).

Transient — retry with backoff. See ConnectivityError for details.

§

Rejected(ApiError<AssetNameExchange, InstrumentNameExchange>)

API-based error (rate limit, invalid instrument, order rejected, etc.).

Retry semantics depend on the specific ApiError variant. Only ApiError::RateLimit is transient; other variants are not.