ConstraintsViolationsError

ConstraintsViolationsError
ConstraintsViolationsError

Error object extension for returning a constraints violation error

AllOf
This class requires all of the following:
JSON Example
{
    "type": "https://example.com/probs/validation-error",
    "title": "Validation error",
    "status": 400,
    "detail": "There was an error validating the request",
    "violations": [
        {
            "field": "amount",
            "message": "It should be greater than zero"
        }
    ]
}
violations
Required

violations