Skip to main content

Module error

Module error 

Source
Expand description

Error handling for the dYdX adapter.

This module provides error types for all dYdX operations, including HTTP, WebSocket, and gRPC errors.

Enums§

DydxError
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§

DydxResult
Result type for dYdX operations.