even more like eric's
This commit is contained in:
parent
13dcaae591
commit
a9fb82d3b9
|
@ -1,9 +1,6 @@
|
||||||
|
|
||||||
class FpdbError(Exception):
|
class FpdbError(Exception):
|
||||||
def __init__(self, value):
|
pass
|
||||||
self.value = value
|
|
||||||
def __str__(self):
|
|
||||||
return repr(self.value)
|
|
||||||
|
|
||||||
class FpdbParseError(FpdbError):
|
class FpdbParseError(FpdbError):
|
||||||
def __init__(self,value='',hid=''):
|
def __init__(self,value='',hid=''):
|
||||||
|
@ -16,5 +13,8 @@ class FpdbParseError(FpdbError):
|
||||||
return repr(self.value)
|
return repr(self.value)
|
||||||
|
|
||||||
class DuplicateError(FpdbError):
|
class DuplicateError(FpdbError):
|
||||||
pass
|
def __init__(self, value):
|
||||||
|
self.value = value
|
||||||
|
def __str__(self):
|
||||||
|
return repr(self.value)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user