Exceptions

tecton_client.exceptions module

This module consists of all the exceptions that can be raised by the Tecton client.

exception tecton_client.exceptions.BadRequestError[source]

Bases: TectonServerException

Raised when the Tecton API returns a 400 Bad Request error.

Please refer to the message for more details on the error.

STATUS_CODE: int = 400
exception tecton_client.exceptions.ForbiddenError[source]

Bases: TectonServerException

Raised when the Tecton API returns a 403 Forbidden error.

Please refer to the message for more details on the error.

STATUS_CODE: int = 403
exception tecton_client.exceptions.GatewayTimeoutError[source]

Bases: TectonServerException

Raised when the Tecton API returns a 504 Gateway Timeout error.

Please refer to the message for more details on the error.

STATUS_CODE: int = 504
exception tecton_client.exceptions.InvalidMicroBatchSizeError[source]

Bases: TectonClientError

Raised when the micro batch size is invalid.

exception tecton_client.exceptions.InvalidParameterError[source]

Bases: TectonClientError

Raised when one or more parameters passed in the request are invalid.

exception tecton_client.exceptions.InvalidURLError[source]

Bases: TectonClientError

Raised when the URL passed is invalid or empty.

exception tecton_client.exceptions.NotFoundError[source]

Bases: TectonServerException

Raised when the Tecton API returns a 404 Not Found error.

Please refer to the message for more details on the error.

STATUS_CODE: int = 404
exception tecton_client.exceptions.ResourcesExhaustedError[source]

Bases: TectonServerException

Raised when the Tecton API returns a 429 Resources Exhausted error.

Please refer to the message for more details on the error.

STATUS_CODE: int = 429
exception tecton_client.exceptions.ServiceUnavailableError[source]

Bases: TectonServerException

Raised when the Tecton API returns a 503 Service Unavailable error.

Please refer to the message for more details on the error.

STATUS_CODE: int = 503
exception tecton_client.exceptions.TectonClientError[source]

Bases: TectonException

Raised for errors thrown by the Python client.

exception tecton_client.exceptions.TectonServerException[source]

Bases: TectonException

Base class for exceptions raised when the Tecton API returns an error response.

STATUS_CODE: int
exception tecton_client.exceptions.UnauthorizedError[source]

Bases: TectonServerException

Raised when the Tecton API returns a 401 Unauthorized error.

Please refer to the message for more details on the error.

STATUS_CODE: int = 401
exception tecton_client.exceptions.UnsupportedTypeError[source]

Bases: TectonClientError

Raised when the data type of one or more parameters passed in is not supported by Tecton.

TectonClientError

Raised for errors thrown by the Python client.

TectonServerException

Base class for exceptions raised when the Tecton API returns an error response.

InvalidParameterError

Raised when one or more parameters passed in the request are invalid.

InvalidURLError

Raised when the URL passed is invalid or empty.

InvalidMicroBatchSizeError()

Raised when the micro batch size is invalid.

UnsupportedTypeError

Raised when the data type of one or more parameters passed in is not supported by Tecton.

BadRequestError

Raised when the Tecton API returns a 400 Bad Request error.

UnauthorizedError

Raised when the Tecton API returns a 401 Unauthorized error.

ForbiddenError

Raised when the Tecton API returns a 403 Forbidden error.

NotFoundError

Raised when the Tecton API returns a 404 Not Found error.

ResourcesExhaustedError

Raised when the Tecton API returns a 429 Resources Exhausted error.

ServiceUnavailableError

Raised when the Tecton API returns a 503 Service Unavailable error.

GatewayTimeoutError

Raised when the Tecton API returns a 504 Gateway Timeout error.