structured Exceptions a bit more like most python apps seem to do it (and as suggested in the manual)
This commit is contained in:
parent
d495606f2a
commit
8bba1fd932
|
@ -1,4 +1,7 @@
|
|||
class FpdbParseError(Exception):
|
||||
class FPDBError(Exception):
|
||||
pass
|
||||
|
||||
class FpdbParseError(FPDBError):
|
||||
def __init__(self,hid=None):
|
||||
self.hid = hid
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user