Commit 06b6809b authored by Mateusz Biliński's avatar Mateusz Biliński

Added basic exception classes for handling plugins-related errors.

parent 369ea554
......@@ -226,3 +226,9 @@ class GajimPluginConfig(UserDict.DictMixin):
@log_calls('GajimPluginConfig')
def load(self):
self.data = shelve.open(self.FILE_PATH)
class GajimPluginException(Exception):
pass
class GajimPluginInitError(GajimPluginException):
pass
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment