Expand description
Error handling for the dYdX adapter.
This module provides error types for all dYdX operations, including HTTP, WebSocket, and gRPC errors.
Enums§
- Dydx
Error - The main error type for all dYdX adapter operations.
Constants§
- COSMOS_
ERROR_ CODE_ TX_ IN_ MEMPOOL_ CACHE - Cosmos SDK error code for transaction already in mempool cache (
ErrTxInMempoolCache). - DYDX_
ERROR_ CODE_ CANCEL_ ALREADY_ IN_ MEMCLOB - dYdX CLOB error code for duplicate cancel in memclob.
- DYDX_
ERROR_ CODE_ ORDER_ DOES_ NOT_ EXIST - dYdX CLOB error code for cancelling a non-existent order.
Type Aliases§
- Dydx
Result - Result type for dYdX operations.