"""Exception types for the collate module."""
-class InvalidLocaleError(ValueError):
+class InvalidLocaleError(LookupError):
"""Raised when an invalid locale is given to a function.
Attributes:
"""
def __init__(self, locale, string=""):
self.locale = locale
- ValueError.__init__(self, string or locale)
+ LookupError.__init__(self, string or locale)