summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index 52fa25f02..93333c2aa 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -236,6 +236,14 @@ class PluginsPackageError(PrivateError):
format = '%(name)s must be sub-package, not module: %(file)r'
+class PluginModuleError(PrivateError):
+ """
+ Raised when a module is not a valid plugin module.
+ """
+
+ format = '%(name)s is not a valid plugin module'
+
+
##############################################################################
# Public errors: