Skip to content
1 min read · 161 words

@nhtio/adk/batteries/validation/exceptions ​

Exceptions raised by the ordering validation battery.

Interfaces ​

InterfaceDescription
OrderingRepairExceptionA repair failure, retaining enough progress to reconcile a partially-mutated store.
OrderingViolationExceptionA blocking ordering exception enriched with the complete violation list.

Variables ​

VariableDescription
E_INVALID_ORDERING_GUARD_OPTIONSThrown when ordering guard options do not satisfy the battery contract.
E_ORDERING_REPAIR_FAILEDThrown internally when materialising an ordering repair cannot complete.
E_ORDERING_VIOLATIONThrown when a dispatch contains blocking ordering violations.
E_UNKNOWN_ORDERING_PROFILEThrown when a string profile name is absent from the registered profile catalog.

Functions ​

FunctionDescription
createOrderingRepairErrorConstructs a structured repair failure without losing the underlying store error.
createOrderingViolationErrorConstructs an ordering rejection and attaches its typed blocking violation list.