RockyApiError#

exception ansys.rocky.app.ra_api.RockyApiError#

Bases: ansys.rocky.app.api_element_item.ApiError

Exception class representing an error generated in the API layer.

RockyApiErrors should be raised for circumstances that are known to be user errors and not software bugs - things like trying to make a setup change without deleting results beforehand, trying to remove by name items that don’t exist, etc.

Import detail#

from ansys.rocky.app.ra_api import RockyApiError