Skip to main content

Module denied_reason

Module denied_reason 

Source
Expand description

Standardized reasons for local order denial.

OrderDeniedReason is the single source of truth for the CATEGORY_CONDITION codes attached to OrderDenied events. Each variant renders, via std::fmt::Display, to a message whose leading token is the stable code, followed when applicable by the diagnostic suffix documented on OrderDeniedReason. The companion OrderDeniedCode enum (generated by strum) enumerates the codes without their per-denial context, so documentation and grouping can iterate the closed set.

Structs§

OrderDeniedCodeIter
An iterator over the variants of OrderDeniedCode

Enums§

OrderDeniedCode
Auto-generated discriminant enum variants
OrderDeniedReason
A standardized reason an order was denied locally by the Nautilus system.
OrderPriceField
The order price field being validated.