RequestValidationError
No overview available.
Constructor
Signature
def RequestValidationError(
errors: Sequence[Any],
body: Any = None,
endpoint_ctx: EndpointContext | None = None
) - > None
Parameters
| Name | Type | Description |
|---|---|---|
| errors | Sequence[Any] | A sequence of errors that occurred during validation. |
| body | Any = None | The body of the request that caused the validation error. |
| endpoint_ctx | `EndpointContext | None` = None |
Signature
def RequestValidationError(
errors: Sequence[Any],
body: Any = None,
endpoint_ctx: EndpointContext | None = None
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| errors | Sequence[Any] | A sequence of validation error objects that describe the issues found during request validation. |
| body | Any = None | The raw request body that caused the validation errors. This is stored for debugging or logging purposes. |
| endpoint_ctx | `EndpointContext | None` = None |