Skip to main content

AuthenticationError

Thrown when authentication fails.

Extended by

  • GitAuthError

Constructors

Parameters
ParameterType
messagestring
Returns
AuthenticationError
Parameters
ParameterType
messagestring
stackTrace?string
Returns
BuildError
Parameters
ParameterType
messagestring
stackTrace?string
Returns
FileNotFoundError

FileUploadError

Thrown when the file upload fails.

Constructors

Parameters
ParameterType
messagestring
stackTrace?string
Returns
FileUploadError

GitAuthError

Thrown when git authentication fails.

Constructors

Parameters
ParameterType
messagestring
Returns
GitAuthError

GitUpstreamError

Thrown when git upstream tracking is missing.

Constructors

Parameters
ParameterType
messagestring
stackTrace?string
Returns
GitUpstreamError

InvalidArgumentError

Thrown when an invalid argument is provided.

Constructors

Parameters
ParameterType
messagestring
stackTrace?string
Returns
InvalidArgumentError

NotEnoughSpaceError

Thrown when there is not enough disk space.

Constructors

Parameters
ParameterType
messagestring
stackTrace?string
Returns
NotEnoughSpaceError

NotFoundError

Thrown when a resource is not found.

Deprecated

Use FileNotFoundError or SandboxNotFoundError instead. This class will be removed in the next major version.

Extended by

  • FileNotFoundError
  • SandboxNotFoundError

Constructors

Parameters
ParameterType
messagestring
stackTrace?string
Returns
NotFoundError

RateLimitError

Thrown when the API rate limit is exceeded.

Constructors

Parameters
ParameterType
messagestring
Returns
RateLimitError

SandboxError

Base class for all sandbox errors. Thrown when general sandbox errors occur.

Extended by

  • TimeoutError
  • InvalidArgumentError
  • NotEnoughSpaceError
  • NotFoundError
  • GitUpstreamError
  • TemplateError
  • RateLimitError

Constructors

Parameters
ParameterType
message?string
stackTrace?string
Returns
SandboxError
Parameters
ParameterType
messagestring
stackTrace?string
Returns
SandboxNotFoundError

TemplateError

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

Constructors

Parameters
ParameterType
messagestring
stackTrace?string
Returns
TemplateError

TimeoutError

Thrown when a timeout error occurs. The [unavailable] error type is caused by sandbox timeout. The [canceled] error type is caused by exceeding request timeout. The [deadline_exceeded] error type is caused by exceeding the timeout for command execution, watch, etc. The [unknown] error type is sometimes caused by the sandbox timeout when the request is not processed correctly.

Constructors

Parameters
ParameterType
messagestring
stackTrace?string
Returns
TimeoutError

VolumeError

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

Constructors

Parameters
ParameterType
messagestring
Returns
VolumeError

Parameters

ParameterType
messagestring

Returns

TimeoutError