ansys.dyna.core.pre.errors#

Module containing PyDYNA-specific errors.

Attributes#

Exceptions#

VersionError

Provides the error raised when the kwserver is invalid.

PydynaRuntimeError

Provides the error raised when PyDYNA passes an error.

PydynaInvalidRoutineError

Provides the error raised when MAPDL is in the wrong routine.

LockFileException

Provides the error raised when the lockfile has not been removed.

KwserverDidNotStart

Provides the error raised when the kwserver process does not start.

Module Contents#

ansys.dyna.core.pre.errors.SIGINT_TRACKER = [][source]#
ansys.dyna.core.pre.errors.LOCKFILE_MSG = Multiline-String[source]#
Show Value
"""
Either another Ansys job with the same job name is already running in this
directory or the lock file has not been deleted from an abnormally
terminated Ansys run.

Disable this check by passing ``override=True``

"""
exception ansys.dyna.core.pre.errors.VersionError(msg='Invalid kwserver version')[source]#

Bases: ValueError

Provides the error raised when the kwserver is invalid.

exception ansys.dyna.core.pre.errors.PydynaRuntimeError[source]#

Bases: RuntimeError

Provides the error raised when PyDYNA passes an error.

exception ansys.dyna.core.pre.errors.PydynaInvalidRoutineError(msg='')[source]#

Bases: RuntimeError

Provides the error raised when MAPDL is in the wrong routine.

exception ansys.dyna.core.pre.errors.LockFileException(msg=LOCKFILE_MSG)[source]#

Bases: RuntimeError

Provides the error raised when the lockfile has not been removed.

exception ansys.dyna.core.pre.errors.KwserverDidNotStart(msg='')[source]#

Bases: RuntimeError

Provides the error raised when the kwserver process does not start.