Exceptions
This document contains every exceptions that Socon can raise.
Socon core exceptions
Socon core exception classes are defined in socon.core.exceptions.
ImproperlyConfigured
- exception ImproperlyConfigured[source]
The
ImproperlyConfiguredexception is raised when Socon is somehow improperly configured – for example, if a value insettings.pyis incorrect or unparseable.
RegistryNotReady
CommandNotFound
- exception CommandNotFound[source]
The
CommandNotFoundis raised when the command manager cannot find the command that needs to be run.
ManagerNotHooked
- exception ManagerNotHooked[source]
The
ManagerNotHookedis raised when we try to a access a hook in a manager that does not contain any hooks.
ManagerNotFound
- exception ManagerNotFound[source]
The
ManagerNotFoundis raised byManagerRegistry.get_manager()if the manager does not exist.
HookNotFound
- exception HookNotFound[source]
The
HookNotFoundis raised byBaseManager.find_hooks_impl()when the hook is not found in any registry configurations.