@nhtio/adk/batteries/validation/exceptions
Exceptions raised by the ordering validation battery.
Interfaces
| Interface | Description |
|---|---|
| OrderingRepairException | A repair failure, retaining enough progress to reconcile a partially-mutated store. |
| OrderingViolationException | A blocking ordering exception enriched with the complete violation list. |
Variables
| Variable | Description |
|---|---|
| E_INVALID_ORDERING_GUARD_OPTIONS | Thrown when ordering guard options do not satisfy the battery contract. |
| E_ORDERING_REPAIR_FAILED | Thrown internally when materialising an ordering repair cannot complete. |
| E_ORDERING_VIOLATION | Thrown when a dispatch contains blocking ordering violations. |
| E_UNKNOWN_ORDERING_PROFILE | Thrown when a string profile name is absent from the registered profile catalog. |
Functions
| Function | Description |
|---|---|
| createOrderingRepairError | Constructs a structured repair failure without losing the underlying store error. |
| createOrderingViolationError | Constructs an ordering rejection and attaches its typed blocking violation list. |