adhocracy_core.exceptions module

Internal Exceptions.

exception ConfigurationError(details='')[source]

Bases: Exception

Raise when wrong values are supplied to the resources/sheet metadata.

Initialize self.

details = None

Arbitrary error description.

exception RuntimeConfigurationError(details='')[source]

Bases: adhocracy_core.exceptions.ConfigurationError

Raise when the ConfigurationError is detected during runtime.

Initialize self.

exception NoForkAllowedError(resource)[source]

Bases: Exception

Raise when a fork is created for non forkable itemversions.

Initialize self.

resource = None

Resource causing this error.

exception AutoUpdateNoForkAllowedError(resource, event: <InterfaceClass adhocracy_core.interfaces.ISheetReferenceNewVersion>)[source]

Bases: adhocracy_core.exceptions.NoForkAllowedError

Raise when the automatic resource update causes a NoForkAllowedError.

See adhocracy_core.interfaces.ISheetReferenceAutoUpdateMarker for more information.

Initialize self.

event = None

Event causing the auto update process.