Geo update WIP

This commit is contained in:
Profitroll
2022-12-28 18:56:13 +01:00
parent e59aa98fd5
commit 22011829a5
6 changed files with 65 additions and 14 deletions

5
classes/errors/geo.py Normal file
View File

@@ -0,0 +1,5 @@
class PlaceNotFoundError(Exception):
"""Query provided did not lead to any city or populated area"""
def __init__(self, query):
self.query = query
super().__init__(f"Could not find any place on geonames.org of feature classes A and P by query '{self.query}'")