Controls empty response from geocoding service

This commit is contained in:
Guido Fioravantti
2015-11-03 19:21:28 +01:00
parent 048a5535dc
commit 1a21dda52a
2 changed files with 11 additions and 3 deletions
@@ -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')