sopel.plugins.exceptions

Sopel’s plugins exceptions.

exception sopel.plugins.exceptions.PluginError

Base class for plugin related exceptions.

exception sopel.plugins.exceptions.PluginNotRegistered(name)

Exception raised when a plugin is not registered.

exception sopel.plugins.exceptions.PluginSettingsError

Exception raised when a plugin is not properly configured.

This can be used in any place where a plugin requires a specific config, for example in its setup function, in any of its rules or commands, and in the loader function for the sopel.plugin.url_lazy() decorator.