:class:`DownloadError` ====================== .. py:exception:: ansys.tools.common.exceptions.DownloadError(msg) Bases: :py:obj:`AnsysError`, :py:obj:`RuntimeError` Error raised when an example file or directory download fails. This exception also inherits from ``RuntimeError`` for backward compatibility with clients that anticipate a ``RuntimeError`` from download operations. Parameters ---------- msg : str Message to raise for the exception. This includes full failure context, such as the resource being downloaded, the number of retry attempts made, and the underlying error. Import detail ------------- .. code-block:: python from ansys.tools.common.exceptions import DownloadError