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): DaytonaErrorParameters:
messagestringstatusCode?numberheaders?AxiosHeaders
Returns:
DaytonaError
Overrides
Error.constructorDaytonaNotFoundError
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): DaytonaNotFoundErrorParameters:
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): DaytonaRateLimitErrorParameters:
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): DaytonaTimeoutErrorParameters:
messagestringstatusCode?numberheaders?AxiosHeaders
Returns:
DaytonaTimeoutError
Overrides
DaytonaError.constructor