Class NewtonFailure
Defined in File exception.h
Inheritance Relationships
Base Type
public amici::AmiException
(Class AmiException)
Class Documentation
-
class NewtonFailure : public amici::AmiException
Newton failure exception.
This exception should be thrown when the steady state computation failed to converge for this exception we can assume that we can recover from the exception and return a solution struct to the user
Public Functions
-
NewtonFailure(int code, char const *function)
Constructor, simply calls AmiException constructor.
- Parameters:
function – name of the function in which the error occurred
code – error code
Public Members
-
int error_code
error code returned by solver
-
NewtonFailure(int code, char const *function)