DaytonaError
Base error for Daytona SDK.
Properties:
headers?AxiosHeaders - Response headers if availablestatusCode?number - HTTP status code if available
Extends:
Error
Extended by
DaytonaNotFoundErrorDaytonaRateLimitErrorDaytonaTimeoutError
Constructors
new DaytonaError()
new DaytonaError(
message: string,
statusCode?: number,
headers?: AxiosHeaders): DaytonaError
Parameters:
messagestringstatusCode?numberheaders?AxiosHeaders
Returns:
DaytonaError
Overrides
Error.constructor
DaytonaNotFoundError
Base error for Daytona SDK.
Properties:
-
headers?AxiosHeaders - Response headers if available- Inherited from:
DaytonaError.headers
- Inherited from:
-
statusCode?number - HTTP status code if available- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Constructors
new DaytonaNotFoundError()
new DaytonaNotFoundError(
message: string,
statusCode?: number,
headers?: AxiosHeaders): DaytonaNotFoundError
Parameters:
messagestringstatusCode?numberheaders?AxiosHeaders
Returns:
DaytonaNotFoundError
Overrides
DaytonaError.constructor
DaytonaRateLimitError
Error thrown when rate limit is exceeded.
Properties:
-
headers?AxiosHeaders - Response headers if available- Inherited from:
DaytonaError.headers
- Inherited from:
-
statusCode?number - HTTP status code if available- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Constructors
new DaytonaRateLimitError()
new DaytonaRateLimitError(
message: string,
statusCode?: number,
headers?: AxiosHeaders): DaytonaRateLimitError
Parameters:
messagestringstatusCode?numberheaders?AxiosHeaders
Returns:
DaytonaRateLimitError
Overrides
DaytonaError.constructor
DaytonaTimeoutError
Error thrown when a timeout occurs.
Properties:
headers?AxiosHeaders - Response headers if available- Inherited from:
DaytonaError.headers
- Inherited from:
statusCode?number - HTTP status code if available- Inherited from:
DaytonaError.statusCode
- Inherited from:
Extends:
DaytonaError
Constructors
new DaytonaTimeoutError()
new DaytonaTimeoutError(
message: string,
statusCode?: number,
headers?: AxiosHeaders): DaytonaTimeoutError
Parameters:
messagestringstatusCode?numberheaders?AxiosHeaders
Returns:
DaytonaTimeoutError
Overrides
DaytonaError.constructor