InvalidLocaleError is more a LookupError than a ValueError.
[python-collate.git] / collate / errors.py
index ca8eec7..a425087 100644 (file)
@@ -1,6 +1,6 @@
 """Exception types for the collate module."""
 
-class InvalidLocaleError(ValueError):
+class InvalidLocaleError(LookupError):
     """Raised when an invalid locale is given to a function.
 
     Attributes: