gweis / isodate

ISO 8601 date/time parser
BSD 3-Clause "New" or "Revised" License
155 stars 59 forks source link

Changing exceptions to be ValueError or a subclass thereof in cases wher... #1

Closed mhrivnak closed 11 years ago

mhrivnak commented 12 years ago

...e the error is invalid input.

Please see this page for a definition of ValueError, which should make clear why it is more appropriate: http://docs.python.org/2/library/exceptions.html#exceptions.ValueError