Exceptions¶
Exceptions are located in the file likelihood/errors.h.
All explicit DCProgs exception derive from this, for easy catching,.
General¶
Index error.
Runtime error which carries a message.
NotImplemented error which carries a message.
Math¶
Math (convergence, domain, etc) error.
Math error which carries a message.
Found unexpected complex eigenvalues.
Found a Not a Number.
Input error to a math problem.
Thrown when the maximum number of iterations is reached.
Matrix is not invertible.
Python¶
Exception thrown in python modules.
Exception was thrown by python API.
This is a convenience exception that can be thrown when a python api has set an error. It allows us to easily escape from the current scope, while keeping the python exception as it is.
Exception thrown in python module when converting to C types.
Exception thrown in python module when converting to C types.