Skip to main content

SandboxException

Base class for all sandbox errors. Raised when a general sandbox exception occurs.

TimeoutException

Raised when a timeout occurs. The 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

Raised when an invalid argument is provided.

NotEnoughSpaceException

Raised when there is not enough disk space.

NotFoundException

Raised when a resource is not found. .. deprecated:: Use :class:FileNotFoundException or :class:SandboxNotFoundException instead. This class will be removed in the next major version.

FileNotFoundException

Raised when a file or directory is not found inside a sandbox.

SandboxNotFoundException

Raised when a sandbox is not found (e.g. it doesn’t exist or is no longer running).

AuthenticationException

Raised when authentication fails.

GitAuthException

Raised when git authentication fails. :deprecated: Run git with sandbox.commands.run() instead. The git module will be removed in the next major version.

GitUpstreamException

Raised when git upstream tracking is missing. :deprecated: Run git with sandbox.commands.run() instead. The git module will be removed in the next major version.

TemplateException

Exception raised when the template uses old envd version. It isn’t compatible with the new SDK.

RateLimitException

Raised when the API rate limit is exceeded.

BuildException

Raised when the build fails.

FileUploadException

Raised when the file upload fails.

VolumeException

Base class for all volume errors. Raised when general volume errors occur.

VolumeNotFoundException

Raised when a volume is not found.

VolumePathNotFoundException

Raised when a file or directory is not found inside a volume.

SecretException

Base class for all secret errors. Raised when general secret errors occur.

SecretNotFoundException

Raised when a secret is not found.