DownloadError#

exception ansys.tools.common.exceptions.DownloadError(msg)#

Bases: AnsysError, 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#

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