Exceptions

All Coheriq exceptions derive from CoheriqError.

exception CoheriqError[source]

Bases: RuntimeError

Base class for all Coheriq exceptions.

with_traceback()

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

exception CoheriqLibraryError[source]

Bases: CoheriqError

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

Error 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: CoheriqLibraryError

Error 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: CoheriqEngineError

Error 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: CoheriqError

Error 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: CoheriqUserError

Error 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: CoheriqUserError

Error caused by referencing a non-existent engine by name.

with_traceback()

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