Capture end organize exceptions. Fix NotFound
[osm/osmclient.git] / osmclient / common / exceptions.py
index 92ed0f6..12de003 100644 (file)
@@ -19,8 +19,9 @@ class ClientException(Exception):
     pass
 
 
-class NotFound(ClientException):
+class OsmHttpException(ClientException):
     pass
 
-class OsmHttpException(ClientException):
+
+class NotFound(OsmHttpException):
     pass