google-maps-services-node
Version:
Node library for accessing the Google Maps Web Services
13 lines (9 loc) • 376 B
JavaScript
;
function GoogleMapsApiError(response) {
this.name = "GoogleMapsApiError";
this.message = "The googleMapsApi responded with a non-OK status code \"" + response.status + "\".";
this.response = response;
}
GoogleMapsApiError.prototype = new Error();
GoogleMapsApiError.prototype.constructor = GoogleMapsApiError;
module.exports = GoogleMapsApiError;