Exceptions and warnings¶
All Coheriq exceptions derive from CoheriqError.
- exception CoheriqError[source]¶
Bases:
RuntimeErrorBase class for all Coheriq exceptions.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception CoheriqLibraryError[source]¶
Bases:
CoheriqErrorBase class for errors caused by incorrect use of the Coheriq API by a library or engine.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception CoheriqDomainError[source]¶
Bases:
CoheriqLibraryErrorError caused by incorrect use of an
AccelerationDomain.- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception CoheriqEngineError[source]¶
Bases:
CoheriqLibraryErrorError caused by incorrect use of an
AccelerationEngine.- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception CoheriqEngineInheritanceError[source]¶
Bases:
CoheriqEngineErrorError caused by an invalid engine inheritance relationship.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception CoheriqUserError[source]¶
Bases:
CoheriqErrorError caused by incorrect use of coheriq by a user.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception CoheriqDomainNotFoundError[source]¶
Bases:
CoheriqUserErrorError caused by referencing a non-existent domain by name.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception CoheriqEngineNotFoundError[source]¶
Bases:
CoheriqUserErrorError caused by referencing a non-existent engine by name.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
Warnings¶
All Coheriq warnings derive from CoheriqWarning, which derives
from UserWarning, so they can be filtered as a group.
- exception CoheriqWarning[source]¶
Bases:
UserWarningBase class for all Coheriq warnings.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception CoheriqDomainWarning[source]¶
Bases:
CoheriqWarningWarning about a questionable
AccelerationDomaindefinition.- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.