error_handler#

Provides a module for customized error handling.

Exceptions:

DockerContainerLaunchNotSupported()

Raised when a Docker container launch is not supported.

InvalidIpPort()

Raised when the IP address and port are invalid.

InvalidPassword()

Raised when the password is invalid.

IpPortNotProvided()

Raised when the IP address and port are not specified.

LaunchCFXError(launch_string)

Raised when a CX launch error occurs.

UnexpectedKeywordArgument

Raised when a valid keyword argument is not specified.

exception ansys.cfx.core.launcher.error_handler.DockerContainerLaunchNotSupported#

Bases: SystemError

Raised when a Docker container launch is not supported.

Methods:

__init__()#
exception ansys.cfx.core.launcher.error_handler.InvalidIpPort#

Bases: ValueError

Raised when the IP address and port are invalid.

Methods:

__init__()

Initialize InvalidIpPort.

__init__()#

Initialize InvalidIpPort.

exception ansys.cfx.core.launcher.error_handler.InvalidPassword#

Bases: ValueError

Raised when the password is invalid.

Methods:

__init__()#
exception ansys.cfx.core.launcher.error_handler.IpPortNotProvided#

Bases: ValueError

Raised when the IP address and port are not specified.

Methods:

__init__()#
exception ansys.cfx.core.launcher.error_handler.LaunchCFXError(launch_string)#

Bases: Exception

Raised when a CX launch error occurs.

Methods:

__init__(launch_string)

__init__ method of LaunchCFXError class.

__init__(launch_string)#

__init__ method of LaunchCFXError class.

exception ansys.cfx.core.launcher.error_handler.UnexpectedKeywordArgument#

Bases: TypeError

Raised when a valid keyword argument is not specified.