Skip to content

Errors

Errors entities are used to handle error messages towards the client.

Error payload

Defines the format of the error payload.

class ErrorObject(BaseModel):
    type: str
    message: Union[str, List, Mapping]


class ErrorPayload(BaseModel):
    error: ErrorObject

Last update: February 2, 2021