Exceptions (pydent.exceptions)

Trident exceptions

exception pydent.exceptions.AquariumError[source]

Bases: pydent.exceptions.TridentBaseException

Aquarium 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.TridentBaseException

An 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.TridentBaseException

Returned 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.TridentBaseException

Raised 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.TridentBaseException

Raised 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.TridentBaseException

There 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.TridentBaseException

Generic planner Exception.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception pydent.exceptions.PlannerVerificationException[source]

Bases: pydent.exceptions.TridentBaseException

Raised 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.TridentBaseException

Cannot 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: Exception

Base 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: DeprecationWarning

Raised 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.TridentBaseException

JSON 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.TridentBaseException

Trident 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.TridentBaseException

Trident 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.TridentBaseException

There 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.TridentBaseException

Trident took too long to respond.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.