pub type UnindexedClientError = ClientError<AssetNameExchange, InstrumentNameExchange>;
Expand description
Type alias for a ClientError
that is keyed on AssetNameExchange
and
InstrumentNameExchange
(yet to be indexed).
Aliased Type§
pub enum UnindexedClientError {
Connectivity(ConnectivityError),
Api(ApiError<AssetNameExchange, InstrumentNameExchange>),
AccountSnapshot(String),
AccountStream(String),
}
Variants§
Connectivity(ConnectivityError)
Connectivity based error.
eg/ Timeout.
Api(ApiError<AssetNameExchange, InstrumentNameExchange>)
API based error.
eg/ RateLimit.
AccountSnapshot(String)
Failed to fetch an AccountSnapshot.
AccountStream(String)
Failed to initialise an AccountStream.