python-holidays icon indicating copy to clipboard operation
python-holidays copied to clipboard

Introduce custom exceptions

Open arkid15r opened this issue 1 year ago • 0 comments

The package has been using quite plain (NotImplementedError which is a quite bad choice) exceptions for handling erroneous situations. The idea is to introduce a set of tailored exceptions for handling those cases, e.g., a country/financial not supported, a year not covered for a country/financial, and other cases if any.

arkid15r avatar May 05 '23 16:05 arkid15r