DaytonaA11yUnavailableError
Section titled “DaytonaA11yUnavailableError”The accessibility service is unavailable (code A11Y_UNAVAILABLE).
Properties:
code?string- Inherited from:
DaytonaServiceUnavailableError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaServiceUnavailableError.headers
- Inherited from:
source?string- Inherited from:
DaytonaServiceUnavailableError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaServiceUnavailableError.statusCode
- Inherited from:
Extends:
DaytonaServiceUnavailableError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaServiceUnavailableError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaA11yUnavailableError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaA11yUnavailableError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaA11yUnavailableError
Inherited from
Section titled “Inherited from”DaytonaServiceUnavailableError.constructor
DaytonaAuthenticationError
Section titled “DaytonaAuthenticationError”Authentication failed — missing or invalid credentials (HTTP 401).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaGitAuthFailedError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaAuthenticationError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaAuthenticationError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaAuthenticationError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaAuthorizationError
Section titled “DaytonaAuthorizationError”Deprecated
Section titled “Deprecated”Properties:
stringcode?- Inherited from:
DaytonaForbiddenError.code
- Inherited from:
AxiosHeadersheaders?- Inherited from:
DaytonaForbiddenError.headers
- Inherited from:
stringsource?- Inherited from:
DaytonaForbiddenError.source
- Inherited from:
numberstatusCode?- Inherited from:
DaytonaForbiddenError.statusCode
- Inherited from:
Use DaytonaForbiddenError instead.
Extends:
DaytonaForbiddenError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaForbiddenError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaAuthorizationError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaAuthorizationError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaAuthorizationError
Inherited from
Section titled “Inherited from”DaytonaForbiddenError.constructor
DaytonaBadGatewayError
Section titled “DaytonaBadGatewayError”An upstream gateway returned an invalid response (HTTP 502).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaGitTransportFailedError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaBadGatewayError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaBadGatewayError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaBadGatewayError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaBadRequestError
Section titled “DaytonaBadRequestError”The request was malformed or invalid (HTTP 400).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaValidationErrorDaytonaInvalidFilePathErrorDaytonaLspServerNotInitializedError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaBadRequestError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaBadRequestError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaBadRequestError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaCommandAlreadyCompletedError
Section titled “DaytonaCommandAlreadyCompletedError”The session command already finished (code COMMAND_ALREADY_COMPLETED).
Properties:
code?string- Inherited from:
DaytonaGoneError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaGoneError.headers
- Inherited from:
source?string- Inherited from:
DaytonaGoneError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaGoneError.statusCode
- Inherited from:
Extends:
DaytonaGoneError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaGoneError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaCommandAlreadyCompletedError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaCommandAlreadyCompletedError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaCommandAlreadyCompletedError
Inherited from
Section titled “Inherited from”DaytonaGoneError.constructor
DaytonaConflictError
Section titled “DaytonaConflictError”The request conflicts with the current state of the resource (HTTP 409).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaGitBranchExistsErrorDaytonaGitPushRejectedErrorDaytonaGitDirtyWorktreeErrorDaytonaGitMergeConflictErrorDaytonaRecordingStillActiveError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaConflictError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaConflictError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaConflictError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaConnectionError
Section titled “DaytonaConnectionError”Network connection failure (can’t connect or mid-request drop).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaConnectionTimeoutError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaConnectionError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaConnectionError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaConnectionError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaConnectionTimeoutError
Section titled “DaytonaConnectionTimeoutError”Transport-layer timeout (connect / read). Subclass of DaytonaConnectionError.
Properties:
code?string- Inherited from:
DaytonaConnectionError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaConnectionError.headers
- Inherited from:
source?string- Inherited from:
DaytonaConnectionError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaConnectionError.statusCode
- Inherited from:
Extends:
DaytonaConnectionError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaConnectionError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaConnectionTimeoutError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaConnectionTimeoutError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaConnectionTimeoutError
Inherited from
Section titled “Inherited from”DaytonaConnectionError.constructor
DaytonaError
Section titled “DaytonaError”Base error for Daytona SDK. statusCode and code are populated only
for errors translated from a server response. source is undefined
unless the caller (or the translation layer) sets it.
Properties:
code?stringheaders?AxiosHeaderssource?stringstatusCode?number
Extends:
Error
Extended by
Section titled “Extended by”DaytonaBadRequestErrorDaytonaAuthenticationErrorDaytonaForbiddenErrorDaytonaNotFoundErrorDaytonaTimeoutErrorDaytonaConflictErrorDaytonaGoneErrorDaytonaUnprocessableEntityErrorDaytonaRateLimitErrorDaytonaInternalServerErrorDaytonaBadGatewayErrorDaytonaServiceUnavailableErrorDaytonaConnectionError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaError
Overrides
Section titled “Overrides”Error.constructorDaytonaFileAccessDeniedError
Section titled “DaytonaFileAccessDeniedError”Access to the sandbox file was denied (code FILE_ACCESS_DENIED).
Properties:
code?string- Inherited from:
DaytonaForbiddenError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaForbiddenError.headers
- Inherited from:
source?string- Inherited from:
DaytonaForbiddenError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaForbiddenError.statusCode
- Inherited from:
Extends:
DaytonaForbiddenError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaForbiddenError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaFileAccessDeniedError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaFileAccessDeniedError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaFileAccessDeniedError
Inherited from
Section titled “Inherited from”DaytonaForbiddenError.constructor
DaytonaFileNotFoundError
Section titled “DaytonaFileNotFoundError”The file does not exist in the sandbox (code FILE_NOT_FOUND).
Properties:
code?string- Inherited from:
DaytonaNotFoundError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaNotFoundError.headers
- Inherited from:
source?string- Inherited from:
DaytonaNotFoundError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaNotFoundError.statusCode
- Inherited from:
Extends:
DaytonaNotFoundError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaNotFoundError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaFileNotFoundError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaFileNotFoundError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaFileNotFoundError
Inherited from
Section titled “Inherited from”DaytonaNotFoundError.constructor
DaytonaFileReadFailedError
Section titled “DaytonaFileReadFailedError”The daemon could not read the sandbox file (code FILE_READ_FAILED).
Properties:
code?string- Inherited from:
DaytonaInternalServerError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaInternalServerError.headers
- Inherited from:
source?string- Inherited from:
DaytonaInternalServerError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaInternalServerError.statusCode
- Inherited from:
Extends:
DaytonaInternalServerError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaInternalServerError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaFileReadFailedError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaFileReadFailedError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaFileReadFailedError
Inherited from
Section titled “Inherited from”DaytonaInternalServerError.constructor
DaytonaForbiddenError
Section titled “DaytonaForbiddenError”The authenticated caller lacks permission for the operation (HTTP 403).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaAuthorizationErrorDaytonaFileAccessDeniedError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaForbiddenError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaForbiddenError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaForbiddenError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaGitAuthFailedError
Section titled “DaytonaGitAuthFailedError”Git authentication against the remote failed (code GIT_AUTH_FAILED).
Properties:
code?string- Inherited from:
DaytonaAuthenticationError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaAuthenticationError.headers
- Inherited from:
source?string- Inherited from:
DaytonaAuthenticationError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaAuthenticationError.statusCode
- Inherited from:
Extends:
DaytonaAuthenticationError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaAuthenticationError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaGitAuthFailedError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaGitAuthFailedError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaGitAuthFailedError
Inherited from
Section titled “Inherited from”DaytonaAuthenticationError.constructor
DaytonaGitBranchExistsError
Section titled “DaytonaGitBranchExistsError”The git branch already exists (code GIT_BRANCH_EXISTS).
Properties:
code?string- Inherited from:
DaytonaConflictError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaConflictError.headers
- Inherited from:
source?string- Inherited from:
DaytonaConflictError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaConflictError.statusCode
- Inherited from:
Extends:
DaytonaConflictError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaConflictError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaGitBranchExistsError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaGitBranchExistsError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaGitBranchExistsError
Inherited from
Section titled “Inherited from”DaytonaConflictError.constructor
DaytonaGitBranchNotFoundError
Section titled “DaytonaGitBranchNotFoundError”The git branch does not exist (code GIT_BRANCH_NOT_FOUND).
Properties:
code?string- Inherited from:
DaytonaNotFoundError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaNotFoundError.headers
- Inherited from:
source?string- Inherited from:
DaytonaNotFoundError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaNotFoundError.statusCode
- Inherited from:
Extends:
DaytonaNotFoundError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaNotFoundError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaGitBranchNotFoundError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaGitBranchNotFoundError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaGitBranchNotFoundError
Inherited from
Section titled “Inherited from”DaytonaNotFoundError.constructor
DaytonaGitDirtyWorktreeError
Section titled “DaytonaGitDirtyWorktreeError”The operation requires a clean worktree (code GIT_DIRTY_WORKTREE).
Properties:
code?string- Inherited from:
DaytonaConflictError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaConflictError.headers
- Inherited from:
source?string- Inherited from:
DaytonaConflictError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaConflictError.statusCode
- Inherited from:
Extends:
DaytonaConflictError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaConflictError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaGitDirtyWorktreeError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaGitDirtyWorktreeError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaGitDirtyWorktreeError
Inherited from
Section titled “Inherited from”DaytonaConflictError.constructor
DaytonaGitMergeConflictError
Section titled “DaytonaGitMergeConflictError”A git merge produced conflicts (code GIT_MERGE_CONFLICT).
Properties:
code?string- Inherited from:
DaytonaConflictError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaConflictError.headers
- Inherited from:
source?string- Inherited from:
DaytonaConflictError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaConflictError.statusCode
- Inherited from:
Extends:
DaytonaConflictError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaConflictError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaGitMergeConflictError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaGitMergeConflictError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaGitMergeConflictError
Inherited from
Section titled “Inherited from”DaytonaConflictError.constructor
DaytonaGitPushRejectedError
Section titled “DaytonaGitPushRejectedError”The git push was rejected by the remote (code GIT_PUSH_REJECTED).
Properties:
code?string- Inherited from:
DaytonaConflictError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaConflictError.headers
- Inherited from:
source?string- Inherited from:
DaytonaConflictError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaConflictError.statusCode
- Inherited from:
Extends:
DaytonaConflictError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaConflictError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaGitPushRejectedError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaGitPushRejectedError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaGitPushRejectedError
Inherited from
Section titled “Inherited from”DaytonaConflictError.constructor
DaytonaGitRemoteRejectedError
Section titled “DaytonaGitRemoteRejectedError”The git remote rejected the operation — hooks, branch protection or quota (code GIT_REMOTE_REJECTED).
Properties:
code?string- Inherited from:
DaytonaUnprocessableEntityError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaUnprocessableEntityError.headers
- Inherited from:
source?string- Inherited from:
DaytonaUnprocessableEntityError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaUnprocessableEntityError.statusCode
- Inherited from:
Extends:
DaytonaUnprocessableEntityError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaUnprocessableEntityError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaGitRemoteRejectedError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaGitRemoteRejectedError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaGitRemoteRejectedError
Inherited from
Section titled “Inherited from”DaytonaUnprocessableEntityError.constructor
DaytonaGitRepoNotFoundError
Section titled “DaytonaGitRepoNotFoundError”The git remote repository was not found (code GIT_REPO_NOT_FOUND).
Properties:
code?string- Inherited from:
DaytonaNotFoundError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaNotFoundError.headers
- Inherited from:
source?string- Inherited from:
DaytonaNotFoundError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaNotFoundError.statusCode
- Inherited from:
Extends:
DaytonaNotFoundError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaNotFoundError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaGitRepoNotFoundError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaGitRepoNotFoundError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaGitRepoNotFoundError
Inherited from
Section titled “Inherited from”DaytonaNotFoundError.constructor
DaytonaGitTransportFailedError
Section titled “DaytonaGitTransportFailedError”The git remote was unreachable — DNS, TLS, connection or timeout failure (code GIT_TRANSPORT_FAILED).
Properties:
code?string- Inherited from:
DaytonaBadGatewayError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaBadGatewayError.headers
- Inherited from:
source?string- Inherited from:
DaytonaBadGatewayError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaBadGatewayError.statusCode
- Inherited from:
Extends:
DaytonaBadGatewayError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaBadGatewayError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaGitTransportFailedError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaGitTransportFailedError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaGitTransportFailedError
Inherited from
Section titled “Inherited from”DaytonaBadGatewayError.constructor
DaytonaGoneError
Section titled “DaytonaGoneError”The resource existed but is permanently gone (HTTP 410).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaSessionEndedErrorDaytonaCommandAlreadyCompletedError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaGoneError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaGoneError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaGoneError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaInternalServerError
Section titled “DaytonaInternalServerError”A Daytona service failed unexpectedly (HTTP 500).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaFileReadFailedError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaInternalServerError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaInternalServerError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaInternalServerError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaInvalidArgumentError
Section titled “DaytonaInvalidArgumentError”The SDK rejected the caller’s arguments locally, before any request was
sent. statusCode, code and source are always undefined — no Daytona
service was contacted, so there is no HTTP status to report.
Properties:
code?string- Inherited from:
DaytonaValidationError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaValidationError.headers
- Inherited from:
source?string- Inherited from:
DaytonaValidationError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaValidationError.statusCode
- Inherited from:
Distinct from DaytonaBadRequestError (a service returned HTTP 400) and DaytonaUnprocessableEntityError (a service returned HTTP 422). This one always means: fix the arguments at the call site.
Example:
try { await sandbox.setAutoStopInterval(-1)} catch (err) { if (err instanceof DaytonaInvalidArgumentError) { // never reached the API — the value itself is invalid }}Extends:
DaytonaValidationError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaValidationError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaInvalidArgumentError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaInvalidArgumentError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaInvalidArgumentError
Inherited from
Section titled “Inherited from”DaytonaValidationError.constructor
DaytonaInvalidFilePathError
Section titled “DaytonaInvalidFilePathError”The supplied file path was rejected by the daemon (code INVALID_FILE_PATH).
Properties:
code?string- Inherited from:
DaytonaBadRequestError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaBadRequestError.headers
- Inherited from:
source?string- Inherited from:
DaytonaBadRequestError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaBadRequestError.statusCode
- Inherited from:
Extends:
DaytonaBadRequestError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaBadRequestError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaInvalidFilePathError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaInvalidFilePathError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaInvalidFilePathError
Inherited from
Section titled “Inherited from”DaytonaBadRequestError.constructor
DaytonaLspServerNotInitializedError
Section titled “DaytonaLspServerNotInitializedError”The LSP server must be initialized first (code LSP_SERVER_NOT_INITIALIZED).
Properties:
code?string- Inherited from:
DaytonaBadRequestError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaBadRequestError.headers
- Inherited from:
source?string- Inherited from:
DaytonaBadRequestError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaBadRequestError.statusCode
- Inherited from:
Extends:
DaytonaBadRequestError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaBadRequestError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaLspServerNotInitializedError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaLspServerNotInitializedError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaLspServerNotInitializedError
Inherited from
Section titled “Inherited from”DaytonaBadRequestError.constructor
DaytonaNotFoundError
Section titled “DaytonaNotFoundError”The requested resource does not exist (HTTP 404).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaGitRepoNotFoundErrorDaytonaGitBranchNotFoundErrorDaytonaFileNotFoundErrorDaytonaProcessNotFoundError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaNotFoundError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaNotFoundError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaNotFoundError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaProcessExecutionTimeoutError
Section titled “DaytonaProcessExecutionTimeoutError”Command execution exceeded its timeout (code PROCESS_EXECUTION_TIMEOUT).
Properties:
code?string- Inherited from:
DaytonaTimeoutError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaTimeoutError.headers
- Inherited from:
source?string- Inherited from:
DaytonaTimeoutError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaTimeoutError.statusCode
- Inherited from:
Extends:
DaytonaTimeoutError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaTimeoutError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaProcessExecutionTimeoutError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaProcessExecutionTimeoutError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaProcessExecutionTimeoutError
Inherited from
Section titled “Inherited from”DaytonaTimeoutError.constructor
Methods
Section titled “Methods”[hasInstance]()
Section titled “[hasInstance]()”static hasInstance: boolean;Parameters:
valueunknown
Returns:
boolean
Inherited from
Section titled “Inherited from”DaytonaTimeoutError.[hasInstance]
DaytonaProcessNotFoundError
Section titled “DaytonaProcessNotFoundError”The sandbox process does not exist (code PROCESS_NOT_FOUND).
Properties:
code?string- Inherited from:
DaytonaNotFoundError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaNotFoundError.headers
- Inherited from:
source?string- Inherited from:
DaytonaNotFoundError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaNotFoundError.statusCode
- Inherited from:
Extends:
DaytonaNotFoundError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaNotFoundError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaProcessNotFoundError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaProcessNotFoundError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaProcessNotFoundError
Inherited from
Section titled “Inherited from”DaytonaNotFoundError.constructor
DaytonaRateLimitError
Section titled “DaytonaRateLimitError”The caller exceeded a rate limit (HTTP 429).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaRateLimitError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaRateLimitError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaRateLimitError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaRecordingFfmpegNotFoundError
Section titled “DaytonaRecordingFfmpegNotFoundError”ffmpeg is not available for recording (code RECORDING_FFMPEG_NOT_FOUND).
Properties:
code?string- Inherited from:
DaytonaServiceUnavailableError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaServiceUnavailableError.headers
- Inherited from:
source?string- Inherited from:
DaytonaServiceUnavailableError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaServiceUnavailableError.statusCode
- Inherited from:
Extends:
DaytonaServiceUnavailableError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaServiceUnavailableError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaRecordingFfmpegNotFoundError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaRecordingFfmpegNotFoundError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaRecordingFfmpegNotFoundError
Inherited from
Section titled “Inherited from”DaytonaServiceUnavailableError.constructor
DaytonaRecordingStillActiveError
Section titled “DaytonaRecordingStillActiveError”A screen recording is still active (code RECORDING_STILL_ACTIVE).
Properties:
code?string- Inherited from:
DaytonaConflictError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaConflictError.headers
- Inherited from:
source?string- Inherited from:
DaytonaConflictError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaConflictError.statusCode
- Inherited from:
Extends:
DaytonaConflictError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaConflictError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaRecordingStillActiveError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaRecordingStillActiveError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaRecordingStillActiveError
Inherited from
Section titled “Inherited from”DaytonaConflictError.constructor
DaytonaServiceUnavailableError
Section titled “DaytonaServiceUnavailableError”The service is temporarily unable to handle the request (HTTP 503).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaA11yUnavailableErrorDaytonaRecordingFfmpegNotFoundError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaServiceUnavailableError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaServiceUnavailableError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaServiceUnavailableError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaSessionEndedError
Section titled “DaytonaSessionEndedError”The session has already ended (code SESSION_ENDED).
Properties:
code?string- Inherited from:
DaytonaGoneError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaGoneError.headers
- Inherited from:
source?string- Inherited from:
DaytonaGoneError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaGoneError.statusCode
- Inherited from:
Extends:
DaytonaGoneError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaGoneError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaSessionEndedError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaSessionEndedError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaSessionEndedError
Inherited from
Section titled “Inherited from”DaytonaGoneError.constructor
DaytonaTimeoutError
Section titled “DaytonaTimeoutError”The operation timed out (HTTP 408, or 504 when a gateway timed out).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Also matches DaytonaConnectionTimeoutError via instanceof, even
though that class sits under DaytonaConnectionError in the prototype
chain. Transport timeouts were raised as DaytonaTimeoutError before
DaytonaConnectionTimeoutError existed, so this keeps pre-existing
catch (err) { if (err instanceof DaytonaTimeoutError) ... } blocks working
— the same compatibility the Python SDK gets from inheriting both classes.
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaProcessExecutionTimeoutError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaTimeoutError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaTimeoutError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaTimeoutError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
Methods
Section titled “Methods”[hasInstance]()
Section titled “[hasInstance]()”static hasInstance: boolean;Parameters:
valueunknown
Returns:
boolean
DaytonaUnprocessableEntityError
Section titled “DaytonaUnprocessableEntityError”The request was well-formed but semantically invalid (HTTP 422).
Properties:
code?string- Inherited from:
DaytonaError.code
- Inherited from:
headers?AxiosHeaders- Inherited from:
DaytonaError.headers
- Inherited from:
source?string- Inherited from:
DaytonaError.source
- Inherited from:
statusCode?number- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Extended by
Section titled “Extended by”DaytonaGitRemoteRejectedError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaUnprocessableEntityError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaUnprocessableEntityError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaUnprocessableEntityError
Inherited from
Section titled “Inherited from”DaytonaError.constructor
DaytonaValidationError
Section titled “DaytonaValidationError”Legacy umbrella for validation failures. Kept so existing
catch (err) { if (err instanceof DaytonaValidationError) ... } blocks keep
matching both server-returned HTTP 400s and locally rejected arguments.
Properties:
stringcode?- Inherited from:
DaytonaBadRequestError.code
- Inherited from:
AxiosHeadersheaders?- Inherited from:
DaytonaBadRequestError.headers
- Inherited from:
stringsource?- Inherited from:
DaytonaBadRequestError.source
- Inherited from:
numberstatusCode?- Inherited from:
DaytonaBadRequestError.statusCode
- Inherited from:
Deprecated
Section titled “Deprecated”Do not throw or catch this directly in new code. Branch on the precise class instead:
- DaytonaInvalidArgumentError — the SDK rejected your arguments locally, before any request was sent.
- DaytonaBadRequestError — a Daytona service returned HTTP 400.
- DaytonaUnprocessableEntityError — a Daytona service returned HTTP 422 (well-formed but semantically invalid).
Extends:
DaytonaBadRequestError
Extended by
Section titled “Extended by”DaytonaInvalidArgumentError
Accessors
Section titled “Accessors”errorCode
Section titled “errorCode”Inherited from: DaytonaBadRequestError.errorCode
Get Signature
Section titled “Get Signature”get errorCode(): string;Deprecated
Section titled “Deprecated”Use DaytonaError.code instead. Kept so existing
err.errorCode reads keep returning the machine-readable code.
Returns:
string- the machine-readable error code, orundefinedwhen the response did not carry one (same as DaytonaError.code)
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DaytonaValidationError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaValidationError;Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaValidationError
Inherited from
Section titled “Inherited from”DaytonaBadRequestError.constructor
createAxiosDaytonaError()
Section titled “createAxiosDaytonaError()”function createAxiosDaytonaError(error: AxiosError): DaytonaError;Creates the appropriate Daytona error subclass from an Axios error. Maps
client-side timeouts to DaytonaConnectionTimeoutError, networking failures
(no response received) to DaytonaConnectionError, and HTTP responses to
the most specific subclass via createDaytonaError.
Parameters:
errorAxiosError
Returns:
DaytonaError
createDaytonaError()
Section titled “createDaytonaError()”function createDaytonaError( message: string, statusCode?: number, headers?: AxiosHeaders, code?: string, source?: string): DaytonaError;Creates the appropriate Daytona error subclass from structured error metadata.
Resolution order: (source, code) override -> HTTP status code -> DaytonaError.
Parameters:
messagestringstatusCode?numberheaders?AxiosHeaderscode?stringsource?string
Returns:
DaytonaError
errorClassFromStatusCode()
Section titled “errorClassFromStatusCode()”function errorClassFromStatusCode(statusCode?: number): typeof DaytonaError;Maps an HTTP status code to the corresponding Daytona error class.
Parameters:
statusCode?number
Returns
Section titled “Returns”typeof DaytonaError
ResponseHeaders
Section titled “ResponseHeaders”type ResponseHeaders = InstanceType<typeof AxiosHeaders>;SOURCE_API
Section titled “SOURCE_API”const SOURCE_API: "DAYTONA_API" = 'DAYTONA_API';Wire-format source identifiers set by the translation layer when a
Daytona service stamps them on the wire envelope. source = undefined
means the response did not carry a structured envelope (treat as opaque).
SOURCE_DAEMON
Section titled “SOURCE_DAEMON”const SOURCE_DAEMON: "DAYTONA_DAEMON" = 'DAYTONA_DAEMON';SOURCE_PROXY
Section titled “SOURCE_PROXY”const SOURCE_PROXY: "DAYTONA_PROXY" = 'DAYTONA_PROXY';