Exceptions

Specific exceptions that Boussole code can raise.

exception boussole.exceptions.BoussoleBaseException[source]

Bases: exceptions.Exception

Base for Boussole exceptions.

exception boussole.exceptions.CircularImport[source]

Bases: boussole.exceptions.BoussoleBaseException

Exception to be raised when inspector detect a circular import from sources.

exception boussole.exceptions.FinderException[source]

Bases: boussole.exceptions.BoussoleBaseException

Exception to be raised when error occurs with finder usage.

exception boussole.exceptions.InvalidImportRule[source]

Bases: boussole.exceptions.BoussoleBaseException

Exception to be raised when the parser encounts an invalid import rule.

exception boussole.exceptions.SettingsBackendError[source]

Bases: boussole.exceptions.BoussoleBaseException

Exception to be raised when config loading has failed from a backend.

exception boussole.exceptions.SettingsInvalidError[source]

Bases: boussole.exceptions.BoussoleBaseException

Exception to be raised when a settings is detected as invalid.

exception boussole.exceptions.UnclearResolution[source]

Bases: boussole.exceptions.BoussoleBaseException

Exception to be raised when the resolver encounts multiple existing candidates for a path.

exception boussole.exceptions.UnresolvablePath[source]

Bases: boussole.exceptions.BoussoleBaseException

Exception to be raised when the resolver can not resolve a given path.