Controls empty response from geocoding service
This commit is contained in:
@@ -9,3 +9,7 @@ class BadGeocodingParams(Exception):
|
||||
class NoGeocodingParams(Exception):
|
||||
def __str__(self):
|
||||
return repr('No params for geocoding specified')
|
||||
|
||||
class EmptyGeocoderResponse(Exception):
|
||||
def __str__(self):
|
||||
return repr('The request could not be geocoded')
|
||||
|
||||
Reference in New Issue
Block a user