Initial commit for heremaps module

This commit is contained in:
Guido Fioravantti
2015-11-03 16:26:54 +01:00
parent 5f50047bcb
commit 29a34abd0d
3 changed files with 114 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import json
class BadGeocodingParams(Exception):
def __init__(self, value):
self.value = value
def __str__(self):
return repr('Bad geocoding params: ' + json.dumps(value))
class NoGeocodingParams(Exception):
def __str__(self):
return repr('No params for geocoding specified')