V2 Parsing Error

Error Item

class ErrorItem(raw_response)

Explicit details on a problem.

Parameters:

raw_response (dict[str, Any])

detail: str

Explicit information on the issue.

pointer: str | None

A JSON Pointer to the location of the body property.

Error Response

class ErrorResponse(raw_response)

Error response detailing a problem. The format adheres to RFC 9457.

Parameters:

raw_response (dict[str, Any])

code: str

A machine-readable code specific to the occurrence of the problem.

detail: str

A human-readable explanation specific to the occurrence of the problem.

errors: list[ErrorItem]

A list of explicit error details.

status: int

The HTTP status code returned by the server.

title: str

A short, human-readable summary of the problem.