Added basic exception classes for handling plugins-related errors.
This commit is contained in:
parent
369ea5544b
commit
06b6809b29
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue