AnsysWarning#

exception ansys.tools.common.warnings.AnsysWarning(message: str)#

Bases: Warning

Base class for all warnings raised by the Ansys API.

You can use this base class to catch all Ansys-related warnings.

Import detail#

from ansys.tools.common.warnings import AnsysWarning