Class NewtonFailure¶
Defined in File exception.h
Inheritance Relationships¶
Base Type¶
public amici::AmiException
(Class AmiException)
Class Documentation¶
-
class
amici
::
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, const char *function)¶ Constructor, simply calls AmiException constructor.
- Parameters
function
: name of the function in which the error occurredcode
: error code
Public Members
-
int
error_code
¶ error code returned by solver
-