The ``exceptions.py`` module ============================ .. py:module:: ansys.tools.common.exceptions Summary ------- .. py:currentmodule:: exceptions .. tab-set:: .. tab-item:: Exceptions .. list-table:: :header-rows: 0 :widths: auto * - :py:obj:`~ansys.tools.common.exceptions.AnsysError` - Base class for all exceptions raised by the Ansys API. * - :py:obj:`~ansys.tools.common.exceptions.ProductInstanceError` - Custom exception for ProductInstance lifecycle errors. * - :py:obj:`~ansys.tools.common.exceptions.AnsysHostnameValueError` - Error raised when hostname value is not valid. * - :py:obj:`~ansys.tools.common.exceptions.AnsysPortValueError` - Error raised when port value is not valid. * - :py:obj:`~ansys.tools.common.exceptions.AnsysTypeError` - Error raised when an argument is of the wrong type. * - :py:obj:`~ansys.tools.common.exceptions.AnsysLogicError` - Exception raised when an unexpected logical condition occurs. * - :py:obj:`~ansys.tools.common.exceptions.VersionSyntaxError` - An exception raised when an invalid version syntax is found. * - :py:obj:`~ansys.tools.common.exceptions.VersionError` - An exception raised when a version is not valid. .. toctree:: :titlesonly: :maxdepth: 1 :hidden: AnsysError ProductInstanceError AnsysHostnameValueError AnsysPortValueError AnsysTypeError AnsysLogicError VersionSyntaxError VersionError Description ----------- Exceptions module.