eric6.PluginManager.PluginExceptions
Module implementing the exceptions raised by the plugin system.
Global Attributes
Classes
PluginActivationError |
Class defining an error raised, when there was an error during plugin activation. |
PluginClassFormatError |
Class defining an error raised, when the plugin module's class is invalid. |
PluginError |
Class defining a special error for the plugin classes. |
PluginLoadError |
Class defining an error raised, when there was an error during plugin loading. |
PluginModuleFormatError |
Class defining an error raised, when the plugin module is invalid. |
PluginModulesError |
Class defining an error raised, when no plugin modules were found. |
PluginPathError |
Class defining an error raised, when the plugin paths were not found and could not be created. |
Functions
PluginActivationError
Class defining an error raised, when there was an error during plugin
activation.
Derived from
PluginError
Class Attributes
Class Methods
Methods
Static Methods
PluginActivationError (Constructor)
PluginActivationError(name)
Constructor
- name
-
name of the plugin module (string)
PluginClassFormatError
Class defining an error raised, when the plugin module's class is invalid.
Derived from
PluginError
Class Attributes
Class Methods
Methods
Static Methods
PluginClassFormatError (Constructor)
PluginClassFormatError(name, class_, missing)
Constructor
- name
-
name of the plugin module (string)
- class_
-
name of the class not satisfying the requirements
(string)
- missing
-
description of the missing element (string)
PluginError
Class defining a special error for the plugin classes.
Derived from
Exception
Class Attributes
Class Methods
Methods
PluginError |
Constructor |
__repr__ |
Special method returning a representation of the exception. |
__str__ |
Special method returning a string representation of the exception. |
Static Methods
PluginError (Constructor)
PluginError()
Constructor
PluginError.__repr__
__repr__()
Special method returning a representation of the exception.
- Returns:
-
string representing the error message
PluginError.__str__
__str__()
Special method returning a string representation of the exception.
- Returns:
-
string representing the error message
PluginLoadError
Class defining an error raised, when there was an error during plugin
loading.
Derived from
PluginError
Class Attributes
Class Methods
Methods
Static Methods
PluginLoadError (Constructor)
PluginLoadError(name)
Constructor
- name
-
name of the plugin module (string)
PluginModuleFormatError
Class defining an error raised, when the plugin module is invalid.
Derived from
PluginError
Class Attributes
Class Methods
Methods
Static Methods
PluginModuleFormatError (Constructor)
PluginModuleFormatError(name, missing)
Constructor
- name
-
name of the plugin module (string)
- missing
-
description of the missing element (string)
PluginModulesError
Class defining an error raised, when no plugin modules were found.
Derived from
PluginError
Class Attributes
Class Methods
Methods
Static Methods
PluginModulesError (Constructor)
PluginModulesError()
Constructor
PluginPathError
Class defining an error raised, when the plugin paths were not found and
could not be created.
Derived from
PluginError
Class Attributes
Class Methods
Methods
Static Methods
PluginPathError (Constructor)
PluginPathError(msg=None)
Constructor
- msg
-
message to be used by the exception (string)