python-holidays
python-holidays copied to clipboard
Introduce custom exceptions
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.