agentbox.exceptions
Classes:
- AuthenticationException – Raised when authentication fails.
- BuildException – Raised when the build fails.
- FileNotFoundException – Raised when a file or directory is not found inside a sandbox.
- FileUploadException – Raised when the file upload fails.
- InvalidArgumentException – Raised when an invalid argument is provided.
- NotEnoughSpaceException – Raised when there is not enough disk space.
- RateLimitException – Raised when the API rate limit is exceeded.
- SandboxException – Base class for all sandbox errors.
- SandboxNotFoundException – Raised when a sandbox is not found (e.g. it doesn't exist or is no longer running).
- TemplateException – Exception raised when the template uses old envd version. It isn't compatible with the new SDK.
- TimeoutException – Raised when a timeout occurs.
Functions:
agentbox.exceptions.AuthenticationException
Bases: Exception
Raised when authentication fails.
agentbox.exceptions.BuildException
Bases: Exception
Raised when the build fails.
agentbox.exceptions.FileNotFoundException
Bases: SandboxException
Raised when a file or directory is not found inside a sandbox.
agentbox.exceptions.FileUploadException
Bases: BuildException
Raised when the file upload fails.
agentbox.exceptions.InvalidArgumentException
Bases: SandboxException
Raised when an invalid argument is provided.
agentbox.exceptions.NotEnoughSpaceException
Bases: SandboxException
Raised when there is not enough disk space.
agentbox.exceptions.RateLimitException
Bases: SandboxException
Raised when the API rate limit is exceeded.
agentbox.exceptions.SandboxException
Bases: Exception
Base class for all sandbox errors.
Raised when a general sandbox exception occurs.
agentbox.exceptions.SandboxNotFoundException
Bases: SandboxException
Raised when a sandbox is not found (e.g. it doesn't exist or is no longer running).
agentbox.exceptions.TemplateException
Bases: SandboxException
Exception raised when the template uses old envd version. It isn't compatible with the new SDK.
agentbox.exceptions.TimeoutException
Bases: SandboxException
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.
agentbox.exceptions.format_request_timeout_error
format_request_timeout_error()agentbox.exceptions.format_sandbox_timeout_exception
format_sandbox_timeout_exception(message)