(class from pyomo.common.errors)
pyomo.common.errors
Bases: PyomoException, NotImplementedError
PyomoException
NotImplementedError
Exception class used to throw errors that result from Pyomo programming errors, rather than user modeling errors (e.g., a component not declaring a ‘ctype’).
Member Documentation
Exception.add_note(note) – add a note to the exception
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.