Exceptions (pydent.exceptions)¶
Trident exceptions
-
exception
pydent.exceptions.AquariumError[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionAquarium raised an error.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.AquariumModelError[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionAn error occurred with this Aquarium model.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.AquariumModelNotFound[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionReturned when Aquarium could not find a given model.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.AquariumQueryLanguageValidationError[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionRaised when aql is provided with an invalide query.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.ForbiddenRequestError[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionRaised when Trident attempts to make a request after requests have been explicitly turned off.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.NoSessionError[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionThere was no session attached to the model, but one is required.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.PlannerException[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionGeneric planner Exception.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.PlannerVerificationException[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionRaised when object is not in plan but is required.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.SessionAlreadySet[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionCannot set session to models with a session already set.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.TridentBaseException[source]¶ Bases:
ExceptionBase exception for all trident errors.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.TridentDepreciationWarning[source]¶ Bases:
DeprecationWarningRaised when a feature or api is depreciated.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.TridentJSONDataIncomplete[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionJSON data contains a null value and may be incomplete.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.TridentLoginError[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionTrident is not properly connected to the server.
Verify login credentials are correct.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.TridentModelNotFoundError[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionTrident could not find model in list of models.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.TridentRequestError(msg, response)[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionThere was an ambiguous exception that occurred handling your request.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.exceptions.TridentTimeoutError[source]¶ Bases:
pydent.exceptions.TridentBaseExceptionTrident took too long to respond.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-