mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
23 lines
No EOL
474 B
Python
23 lines
No EOL
474 B
Python
#coding: UTF-8
|
|
|
|
class SeafObjException(Exception):
|
|
def __init__(self, msg):
|
|
Exception.__init__(self)
|
|
self.msg = msg
|
|
|
|
def __str__(self):
|
|
return self.msg
|
|
|
|
class InvalidConfigError(SeafObjException):
|
|
'''This Exception is rasied when error happens during parsing
|
|
seafile.conf
|
|
|
|
'''
|
|
pass
|
|
|
|
class ObjectFormatError(SeafObjException):
|
|
'''This Exception is rasied when error happened during parse object
|
|
format
|
|
|
|
'''
|
|
pass |