Indicates that a time zone file isn't present in tzdata.
| 68 | |
| 69 | |
| 70 | class TZFileNotFound(ValueError): |
| 71 | """Indicates that a time zone file isn't present in tzdata.""" |
| 72 | |
| 73 | def __init__(self, msg: str, *args: object, zone_key: str) -> None: |
| 74 | super().__init__(msg % zone_key, *args) |
| 75 | self.zone_key = zone_key |