:class:`ApiError` ================= .. py:exception:: ansys.rocky.app.api_element_item.ApiError Bases: :py:obj:`RuntimeError` Exception class representing an error generated in the API layer. ApiErrors 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. .. !! processed by numpydoc !! Import detail ------------- .. code-block:: python from ansys.rocky.app.api_element_item import ApiError