ResponseValidationError
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| body | The body of the response that failed validation, used for debugging and providing context about the validation error. |
Constructor
Signature
def ResponseValidationError(
errors: Sequence[Any],
body: Any = None,
endpoint_ctx: EndpointContext | None = None
) - > None
Parameters
| Name | Type | Description |
|---|---|---|
| errors | Sequence[Any] | A sequence of validation errors. |
| body | Any = None | The body of the response, if available. |
| endpoint_ctx | `EndpointContext | None` = None |
Signature
def ResponseValidationError(
errors: Sequence[Any],
body: Any = None,
endpoint_ctx: EndpointContext | None = None
) - > None
Parameters
| Name | Type | Description |
|---|---|---|
| errors | Sequence[Any] | A sequence of validation errors that occurred during response processing. These errors provide details about why the response validation failed. |
| body | Any = None | The raw body of the response that failed validation. This is included to provide context for debugging the validation failure. |
| endpoint_ctx | `EndpointContext | None` = None |