ErrorResponseBody Class

Error response body contract.

Constructor

ErrorResponseBody(*args: Any, **kwargs: Any)

Variables

Name Description
code
str

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

message
str

A message describing the error, intended to be suitable for display in a user interface.

Attributes

code

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

code: str | None

message

A message describing the error, intended to be suitable for display in a user interface.

message: str | None