Toloka documentation

_AppError

toloka.client.app._AppError | Source code

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

Parameters Description

Parameters Type Description
code Optional[str]

String error code.

message Optional[str]

Detailed description of the error.

payload Optional[Any]

Additional information about the error. May have different structure for different errors.