UnitsError
(class from pyomo.core.base.units_container
)
- class pyomo.core.base.units_container.UnitsError(msg)[source]
Bases:
Exception
An exception class for all general errors/warnings associated with units
Member Documentation
- add_note()
Exception.add_note(note) – add a note to the exception
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.