SandboxException
status_code: HTTP status of the API response that produced this error, when there was one.
TimeoutException
unavailable exception type is caused by sandbox timeout.
The canceled exception type is caused by exceeding request timeout.
The deadline_exceeded exception type is caused by exceeding the timeout for process, watch, etc.
The unknown exception type is sometimes caused by the sandbox timeout when the request is not processed correctly.
InvalidArgumentException
NotEnoughSpaceException
NotFoundException
FileNotFoundException or :class:SandboxNotFoundException instead.
This class will be removed in the next major version.
FileNotFoundException
SandboxNotFoundException
AuthenticationException
GitAuthException
sandbox.commands.run() instead. The git module will be removed in the next major version.
GitUpstreamException
sandbox.commands.run() instead. The git module will be removed in the next major version.
TemplateException
RateLimitException
ServiceBusyException
AuthenticationException and unlike the other API errors, this is not
a SandboxException: it is raised for every 503 whatever the operation, so
catch it explicitly.
Arguments:
status_code: HTTP status of the API response: always 503.