Trait ErrorClassification

Source
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§

Source

fn is_per_order_error(&self) -> bool

Check if this error is a per-order validation error (not transport-level)

Source

fn is_transport_error(&self) -> bool

Check if this error is a transport-level error affecting the entire batch

Implementors§