DownloadError#
- exception ansys.tools.common.exceptions.DownloadError(msg)#
Bases:
AnsysError,RuntimeErrorError raised when an example file or directory download fails.
This exception also inherits from
RuntimeErrorfor backward compatibility with clients that anticipate aRuntimeErrorfrom download operations.Parameters#
- msgstr
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#
from ansys.tools.common.exceptions import DownloadError