Skip to main content

Module error

Module error 

Source
Expand description

Error structures and enumerations for the Bybit integration.

The JSON error schema is described in the Bybit documentation under Error Codeshttps://bybit-exchange.github.io/docs/v5/error. The types below mirror that structure and are reused across the entire crate.

Structs§

BybitErrorResponse
Represents the JSON structure of an error response returned by the Bybit API.

Enums§

BybitBuildError
Build error for query parameter validation.
BybitCancelOrderError
Error raised after Bybit accepts a cancel request envelope.
BybitHttpError
A typed error enumeration for the Bybit HTTP client.
BybitModifyOrderError
Error raised after Bybit accepts a modify request envelope.
BybitSubmitOrderError
Error raised while submitting a Bybit order.