tq42.exceptions package
Submodules
tq42.exceptions.authentication_error module
- exception tq42.exceptions.authentication_error.AuthenticationError[source]
Bases:
TQ42APIError
Raised when an error occurs during authentication.
tq42.exceptions.experiment_run_cancel_error module
- exception tq42.exceptions.experiment_run_cancel_error.ExperimentRunCancelError[source]
Bases:
TQ42APIError
Raised when an error occurs while cancelling an experiment run.
Only raised when the experiment run is either already completed or cancelled.
tq42.exceptions.invalid_argument_error module
- exception tq42.exceptions.invalid_argument_error.InvalidArgumentError(command: str, details: str)[source]
Bases:
TQ42APIError
Raised when providing wrong arguments / parameters.
- Attributes:
command (str): Where the error occurred. details (str): Details about the error.
tq42.exceptions.no_default_error module
- exception tq42.exceptions.no_default_error.NoDefaultError(command: str)[source]
Bases:
TQ42APIError
Raised when the default organisation and/or project cannot be detected
- Attributes:
command (str): the command for which the error occurred
tq42.exceptions.permission_denied_error module
- exception tq42.exceptions.permission_denied_error.PermissionDeniedError[source]
Bases:
TQ42APIError
Raised when the user does not have access to the requested resource
tq42.exceptions.retries_exceeded_error module
- exception tq42.exceptions.retries_exceeded_error.ExceedRetriesError(tries: int)[source]
Bases:
TQ42APIError
Raised when polling exceeds max retries
- Attributes:
tries (int): max retries that have been exceeded
tq42.exceptions.tq42_api_error module
tq42.exceptions.unauthenticated_error module
- exception tq42.exceptions.unauthenticated_error.UnauthenticatedError[source]
Bases:
TQ42APIError
Raised when the user is not authenticated