musif.common.exceptions module

exception musif.common.exceptions.CannotResurrectObject(obj)[source]

Bases: Exception

Exception raised when a cached object is accessed on a non-cached attribute and the object doesn’t know how to resurrect the non-cached object

exception musif.common.exceptions.FeatureError[source]

Bases: RuntimeError

Exception raised when computing one of the features modules

exception musif.common.exceptions.MissingFileError(file_path: str)[source]

Bases: Exception

Exception informing that an expected file couldn’t be found.

exception musif.common.exceptions.ParseFileError(file_path: str)[source]

Bases: Exception

Exception informing that an file couldn’t be parsed with the specified attributes.

exception musif.common.exceptions.SmartCacheModified(obj, attr)[source]

Bases: Exception

Exception raised when trying to modify the reference of a SmartCache object