structured Exceptions a bit more like most python apps seem to do it (and as suggested in the manual)

This commit is contained in:
Eric Blade 2009-08-16 07:32:56 -05:00
parent d495606f2a
commit 8bba1fd932

View File

@ -1,4 +1,7 @@
class FpdbParseError(Exception):
class FPDBError(Exception):
pass
class FpdbParseError(FPDBError):
def __init__(self,hid=None):
self.hid = hid