diff --git a/pyomo/contrib/pynumero/exceptions.py b/pyomo/contrib/pynumero/exceptions.py index f73ef62887d..dc2167d75d2 100644 --- a/pyomo/contrib/pynumero/exceptions.py +++ b/pyomo/contrib/pynumero/exceptions.py @@ -9,10 +9,12 @@ # This software is distributed under the 3-clause BSD License. # ___________________________________________________________________________ + class PyNumeroEvaluationError(ArithmeticError): """An exception to be raised by PyNumero evaluation backends in the event of a failed function evaluation. This should be caught by solver interfaces and translated to the solver-specific evaluation error API. """ + pass