7198, 7212: document DateError.date
See also [8e1659] 7198, 7212: attach invalid date to DateError
This commit is contained in:
parent
175213b902
commit
3fdaa4ff52
@ -40,7 +40,11 @@ class FilterError(Exception):
|
|||||||
return (self.value, self.value2)
|
return (self.value, self.value2)
|
||||||
|
|
||||||
class DateError(Exception):
|
class DateError(Exception):
|
||||||
"""Error used to report Date errors"""
|
"""Error used to report Date errors
|
||||||
|
|
||||||
|
Might have a .date attribute holding an invalid Date object
|
||||||
|
that triggered the error.
|
||||||
|
"""
|
||||||
def __init__(self, value=""):
|
def __init__(self, value=""):
|
||||||
Exception.__init__(self)
|
Exception.__init__(self)
|
||||||
self.value = value
|
self.value = value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user