Skip to content
Snippets Groups Projects
  1. Apr 19, 2018
  2. Apr 09, 2018
  3. Apr 05, 2018
  4. Apr 04, 2018
  5. Mar 28, 2018
  6. Mar 22, 2018
  7. Mar 13, 2018
  8. Mar 09, 2018
  9. Feb 28, 2018
  10. Feb 27, 2018
  11. Feb 20, 2018
  12. Feb 16, 2018
  13. Feb 04, 2018
  14. Jan 19, 2018
  15. Jan 16, 2018
    • German Velasco's avatar
      Raise bing errors for statuses 403, 500, 503 · 4dc3b36e
      German Velasco authored
      Bing returns the status codes within the json response. When a request is
      forbidden, it will return a 403. If there is an internal server error,
      it will return a 500. And if the service is unavailable for some other
      reason, it will return a 503. That information was obtained from bing's
      [Status Codes and Error
      Handling](https://msdn.microsoft.com/en-us/library/ff701703.aspx)
      documentation.
      
      We handle those three status codes here to raise
      `Geocoder::RequestDenied` (for 403) and `Geocoder::ServiceUnavailable`
      (for 500 and 503). This allows for the users of the Geocoder to handle
      those errors in their applications.
      4dc3b36e
  16. Jan 11, 2018
  17. Jan 10, 2018
Loading