1 """Exception types for the collate module."""
3 class InvalidLocaleError(LookupError):
4 """Raised when an invalid locale is given to a function.
7 locale - the attempted invalid locale
9 def __init__(self
, locale
, string
=""):
11 LookupError.__init
__(self
, string
or locale
)