Module error

Module error 

Source
Expand description

Error structures and enumerations for the OKX integration.

The JSON error schema is described in the OKX documentation under REST API > Error Codeshttps://www.okx.com/docs-v5/en/#error-codes. The types below mirror that structure and are reused across the entire crate.

Structs§

OKXErrorMessage
Contains the specific error details provided by the OKX API.
OKXErrorResponse
Represents the JSON structure of an error response returned by the OKX API.

Enums§

BuildError
Represents a build error for query parameter validation.
OKXHttpError
A typed error enumeration for the OKX HTTP client.