ValidationException
extends DomainException
in package
Thrown when the NHA API responds with 422 Unprocessable Entity.
This means the request we sent was malformed or did not match the schema
the API expects (e.g. a missing/invalid field) — it is a client-side bug,
not a transient failure, so it is never retried automatically. The message
carries the raw response body, whose shape is the HTTPValidationError
schema (a detail list of per-field errors).