summaryrefslogtreecommitdiff
path: root/CompizError.py
diff options
context:
space:
mode:
Diffstat (limited to 'CompizError.py')
-rw-r--r--CompizError.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/CompizError.py b/CompizError.py
index f5b4bbc..28f5db8 100644
--- a/CompizError.py
+++ b/CompizError.py
@@ -21,7 +21,10 @@
class CompizError(Exception): pass
-class CompizPluginNameErr(CompizError):
+class CompizNotActiveError(CompizError):
+ def __str__(self):
+ return 'The library failed to connect to Compiz. Please ensure compiz is running and the dbus plugin is activated.'
+class CompizPluginNameError(CompizError):
def __str__(self):
return 'Plugin name not found in list of availiable plugins.'
class CompizPluginOptionError(CompizError):