Used when a validation fails, such as validating parameter data against a schema.