Sign Up

DaytonaError

class DaytonaError(Exception)

Base of every error the SDK raises, in either namespace.

The fields below are set by both namespaces' error classes (v0's and v2's); they are annotated here, without values, so code catching the root class type-checks. A bare marker instance does not carry them.

Attributes:

  • message str
  • status_code Optional[int]
  • code Optional[str]
  • source Optional[str]

DaytonaBadRequestError

class DaytonaBadRequestError(DaytonaError)

The request was rejected as invalid (HTTP 400 and client-side validation).

DaytonaAuthenticationError

class DaytonaAuthenticationError(DaytonaError)

Missing or invalid credentials (HTTP 401).

DaytonaForbiddenError

class DaytonaForbiddenError(DaytonaError)

The credentials do not allow the operation (HTTP 403).

DaytonaNotFoundError

class DaytonaNotFoundError(DaytonaError)

The resource does not exist (HTTP 404).

DaytonaTimeoutError

class DaytonaTimeoutError(DaytonaError)

A request or wait timed out, on the server (HTTP 408) or in the client.

DaytonaConflictError

class DaytonaConflictError(DaytonaError)

The resource's state does not allow the operation (HTTP 409).

DaytonaGoneError

class DaytonaGoneError(DaytonaError)

The resource is gone for good (HTTP 410).

DaytonaUnprocessableEntityError

class DaytonaUnprocessableEntityError(DaytonaError)

The request was well-formed but could not be processed (HTTP 422).

DaytonaRateLimitError

class DaytonaRateLimitError(DaytonaError)

Too many requests, or a quota was exceeded (HTTP 429).

DaytonaInternalServerError

class DaytonaInternalServerError(DaytonaError)

The server failed (HTTP 500).

DaytonaServiceUnavailableError

class DaytonaServiceUnavailableError(DaytonaError)

The service is temporarily unavailable (HTTP 503).

DaytonaConnectionError

class DaytonaConnectionError(DaytonaError)

The API could not be reached.

DaytonaValidationError

DaytonaValidationError = DaytonaBadRequestError

DaytonaAuthorizationError

DaytonaAuthorizationError = DaytonaForbiddenError