pymor.core.exceptions

Module Contents

pymor.core.exceptions.warn[source]
exception pymor.core.exceptions.AccuracyError[source]

Bases: Exception

Is raised if the result of a computation is inaccurate.

exception pymor.core.exceptions.CacheKeyGenerationError[source]

Bases: Exception

Is raised when cache key generation fails due to unsupported arguments.

exception pymor.core.exceptions.ConstError[source]

Bases: Exception

I get thrown when you try to add a new member to a locked class instance.

exception pymor.core.exceptions.DependencyMissing(dependency, msg=None)[source]

Bases: ImportError

Raised when optional packages are required but are not installed.

exception pymor.core.exceptions.ExtensionError[source]

Bases: Exception

Is raised if a (basis) extension algorithm fails.

This will mostly happen during a basis extension when the new snapshot is already in the span of the basis.

exception pymor.core.exceptions.GmshMissing[source]

Bases: Exception

Is raised when a Gmsh is not found.

exception pymor.core.exceptions.IOLibsMissing(msg=None)[source]

Bases: ImportError

Import can’t find module, or can’t find name in module.

exception pymor.core.exceptions.ImageCollectionError(op)[source]

Bases: Exception

Is raised when a pymor.algorithms.image.estimate_image fails for given operator.

exception pymor.core.exceptions.InversionError[source]

Bases: Exception

Is raised if an operator inversion algorithm fails.

exception pymor.core.exceptions.LinAlgError[source]

Bases: Exception

Is raised if a linear algebra operation fails.

exception pymor.core.exceptions.MeshioMissing[source]

Bases: Exception

Is raised when meshio is not available.

exception pymor.core.exceptions.NeuralNetworkTrainingFailed[source]

Bases: Exception

Is raised when training of a neural network fails.

exception pymor.core.exceptions.NewtonError[source]

Bases: Exception

Is raised if the Newton algorithm fails to converge.

exception pymor.core.exceptions.NoMatchingRuleError(obj)[source]

Bases: NotImplementedError

Method or function hasn’t been implemented yet.

exception pymor.core.exceptions.QtMissing(msg=None)[source]

Bases: DependencyMissing

Raise me where having importable Qt bindings is non-optional

exception pymor.core.exceptions.RuleNotMatchingError[source]

Bases: NotImplementedError

Method or function hasn’t been implemented yet.

exception pymor.core.exceptions.TorchMissing(msg=None)[source]

Bases: DependencyMissing

Raise me where having importable torch version is non-optional

exception pymor.core.exceptions.UnpicklableError(cls)[source]

Bases: Exception

Common base class for all non-exit exceptions.