format\_exception ================= (function from :py:mod:`pyomo.common.errors`) .. testsetup:: * # import everything from the module containing this class so that # doctests for the class docstrings see the correct environment from pyomo.common.errors import * try: from pyomo.common.errors import _autosummary_doctest_setup _autosummary_doctest_setup() except ImportError: pass .. currentmodule:: pyomo.common.errors .. autofunction:: pyomo.common.errors::format_exception