The ``warnings.py`` module
==========================
.. py:module:: ansys.tools.common.warnings
Summary
-------
.. py:currentmodule:: warnings
.. tab-set::
.. tab-item:: Exceptions
.. list-table::
:header-rows: 0
:widths: auto
* - :py:obj:`~ansys.tools.common.warnings.AnsysWarning`
- Base class for all warnings raised by the Ansys API.
* - :py:obj:`~ansys.tools.common.warnings.DataNotAvailableWarning`
- Warning raised when requested data is not yet available.
* - :py:obj:`~ansys.tools.common.warnings.ObjectCreationWarning`
- Warning raised when an object is created with unavailable data.
* - :py:obj:`~ansys.tools.common.warnings.ComputationNotPerformedWarning`
- Warning raised when data is accessed before a required computation has run.
* - :py:obj:`~ansys.tools.common.warnings.LicenseWarning`
- Warning raised when a requested feature requires an unavailable license.
* - :py:obj:`~ansys.tools.common.warnings.ConnectionWarning`
- Warning raised when a connection issue is detected but the operation continues.
.. toctree::
:titlesonly:
:maxdepth: 1
:hidden:
AnsysWarning
DataNotAvailableWarning
ObjectCreationWarning
ComputationNotPerformedWarning
LicenseWarning
ConnectionWarning
Description
-----------
Warnings module.