Skip to content
View as Markdown

DaytonaError

Base error for Daytona SDK.

Properties:

  • headers? AxiosHeaders - Response headers if available
  • statusCode? number - HTTP status code if available

Extends:

  • Error

Extended by

  • DaytonaNotFoundError
  • DaytonaRateLimitError
  • DaytonaTimeoutError

Constructors

new DaytonaError()

new DaytonaError(
message: string,
statusCode?: number,
headers?: AxiosHeaders): DaytonaError

Parameters:

  • message string
  • statusCode? number
  • headers? AxiosHeaders

Returns:

  • DaytonaError
Overrides
Error.constructor

DaytonaNotFoundError

Base error for Daytona SDK.

Properties:

  • headers? AxiosHeaders - Response headers if available

    • Inherited from: DaytonaError.headers
  • statusCode? number - HTTP status code if available

    • Inherited from: DaytonaError.statusCode

Extends:

  • DaytonaError

Constructors

new DaytonaNotFoundError()

new DaytonaNotFoundError(
message: string,
statusCode?: number,
headers?: AxiosHeaders): DaytonaNotFoundError

Parameters:

  • message string
  • statusCode? number
  • headers? 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
  • statusCode? number - HTTP status code if available

    • Inherited from: DaytonaError.statusCode

Extends:

  • DaytonaError

Constructors

new DaytonaRateLimitError()

new DaytonaRateLimitError(
message: string,
statusCode?: number,
headers?: AxiosHeaders): DaytonaRateLimitError

Parameters:

  • message string
  • statusCode? number
  • headers? AxiosHeaders

Returns:

  • DaytonaRateLimitError
Overrides

DaytonaError.constructor

DaytonaTimeoutError

Error thrown when a timeout occurs.

Properties:

  • headers? AxiosHeaders - Response headers if available
    • Inherited from: DaytonaError.headers
  • statusCode? number - HTTP status code if available
    • Inherited from: DaytonaError.statusCode

Extends:

  • DaytonaError

Constructors

new DaytonaTimeoutError()

new DaytonaTimeoutError(
message: string,
statusCode?: number,
headers?: AxiosHeaders): DaytonaTimeoutError

Parameters:

  • message string
  • statusCode? number
  • headers? AxiosHeaders

Returns:

  • DaytonaTimeoutError
Overrides

DaytonaError.constructor