Module error

Module error 

Source
Expand description

OKX-specific error handling.

This module provides error parsing for OKX API responses, mapping OKX error codes to ccxt-core Error types.

Enums§

OkxErrorCode
OKX error codes and their meanings.

Functions§

extract_error_code
Extracts the error code from an OKX API response.
extract_error_message
Extracts the error message from an OKX API response.
is_error_response
Checks if an OKX API response indicates an error.
parse_error
Parses an OKX API error response and converts it to a ccxt-core Error.