Module error

Module error 

Source
Expand description

Unified error handling for the Bybit adapter.

This module provides a comprehensive error taxonomy that distinguishes between retryable, non-retryable, and fatal errors, with proper context preservation for debugging and operational monitoring.

Re-exports§

pub use crate::http::error::BybitHttpError;
pub use crate::websocket::error::BybitWsError;
pub use crate::websocket::error::BybitWsResult;

Enums§

BybitError
The main error type for all Bybit adapter operations.
BybitFatalError
Fatal errors that require manual intervention.
BybitNonRetryableError
Errors that should not be retried.
BybitRetryableError
Errors that should be retried with appropriate backoff.