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.
Currently, if the Google Places API returns a status other than
OK
orZERO_RESULTS
, the library raises aGooglePlacesError
. 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 ofGooglePlacesError
.