Expand description
Batch order error handling with separation of transport-level and per-order errors
This module provides specialized error types for batch operations that distinguish between:
- Transport-level errors: Network, authentication, rate limiting - affect the entire batch
- Per-order errors: Invalid symbols, insufficient balance - affect individual orders only
This separation allows for better error handling strategies, more accurate reporting, and improved debugging capabilities.
Structs§
- Batch
Error Stats - Statistics for batch error analysis
- Batch
Result - Comprehensive result for batch operations
- Batch
Summary - Summary statistics for a batch operation
Enums§
- Batch
Order Error - Errors specific to batch order operations
- Batch
Status - Status of a batch operation
- Order
Result - Result for an individual order within a batch operation
Traits§
- Error
Classification - Helper trait for converting
EMSErrorto determine if per-order errors
Type Aliases§
- Order
Result Map - Map of order results indexed by order ID or client order ID