python-google-places icon indicating copy to clipboard operation
python-google-places copied to clipboard

Add status code as property of GooglePlacesError

Open nickwilliams-eventbrite opened this issue 8 years ago • 0 comments

Currently, if the Google Places API returns a status other than OK or ZERO_RESULTS, the library raises a GooglePlacesError. However, that error simply has the offending status code in the exception message, which makes it hard for consuming code to figure out what happened. status_code should be an attribute of GooglePlacesError.

nickwilliams-eventbrite avatar Oct 21 '16 19:10 nickwilliams-eventbrite