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.BFGSError[source]

Bases: Exception

Is raised if the BFGS algorithm fails to converge.

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.DependencyMissingError(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.GmshMissingError[source]

Bases: Exception

Is raised when a Gmsh is not found.

exception pymor.core.exceptions.IOLibsMissingError(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.MeshioMissingError[source]

Bases: Exception

Is raised when meshio is not available.

exception pymor.core.exceptions.NeuralNetworkTrainingError[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.NoResultDataError(msg=None)[source]

Bases: Exception

Common base class for all non-exit exceptions.

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

Bases: DependencyMissingError

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.TRError[source]

Bases: Exception

Is raised if the TR algorithm fails to converge.

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

Bases: DependencyMissingError

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.