MCPcopy
hub / github.com/fastapi/fastapi / ResponseValidationError

Class ResponseValidationError

fastapi/exceptions.py:234–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232
233
234class ResponseValidationError(ValidationException):
235 def __init__(
236 self,
237 errors: Sequence[Any],
238 *,
239 body: Any = None,
240 endpoint_ctx: EndpointContext | None = None,
241 ) -> None:
242 super().__init__(errors, endpoint_ctx=endpoint_ctx)
243 self.body = body
244
245
246class PydanticV1NotSupportedError(FastAPIError):

Callers 2

serialize_responseFunction · 0.90
_serialize_dataFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…