Toloka documentation

_AppError

toloka.client.app._AppError | Source code

_AppError(
    self,
    *,
    code: Optional[str] = None,
    message: Optional[str] = None,
    payload: Optional[Any] = None
)

A structure for describing errors which may appear while working with App projects.

Parameters Description

Parameters Type Description
code Optional[str]

The short name of the error.

message Optional[str]

The detailed description of the error.

payload Optional[Any]

Additional data provided with the error.