exceptions#

Custom common higher level exceptions.

Exceptions:

BetaFeaturesNotEnabled([feature_name])

Raised when a beta feature is accessed without enabling beta features.

DisallowedValuesError([context, name, ...])

Raised when an argument value is not in the allowed values.

InvalidArgument

Raised when an argument value is inappropriate.

exception ansys.fluent.core.exceptions.BetaFeaturesNotEnabled(feature_name=None)#

Bases: RuntimeError

Raised when a beta feature is accessed without enabling beta features.

Methods:

__init__([feature_name])

__init__(feature_name=None)#
exception ansys.fluent.core.exceptions.DisallowedValuesError(context=None, name=None, allowed_values=None)#

Bases: ValueError

Raised when an argument value is not in the allowed values.

Methods:

__init__([context, name, allowed_values])

Initialize DisallowedValuesError.

__init__(context=None, name=None, allowed_values=None)#

Initialize DisallowedValuesError.

exception ansys.fluent.core.exceptions.InvalidArgument#

Bases: ValueError

Raised when an argument value is inappropriate.