pub trait ErrorClassification {
// Required methods
fn is_per_order_error(&self) -> bool;
fn is_transport_error(&self) -> bool;
}Expand description
Helper trait for converting EMSError to determine if per-order errors
Required Methods§
Sourcefn is_per_order_error(&self) -> bool
fn is_per_order_error(&self) -> bool
Check if this error is a per-order validation error (not transport-level)
Sourcefn is_transport_error(&self) -> bool
fn is_transport_error(&self) -> bool
Check if this error is a transport-level error affecting the entire batch