Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GoogleMapsService::Error::NotFoundError #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jguthrie100
Copy link

  • When doing a directions search, if you enter an invalid address (i.e. 'dsadsfdfdscfrcerf, Tanzania'), a GoogleMapsService::Error::NotFoundError is raised

 - When doing a directions search, if you enter an invalid address (i.e. 'dsadsfdfdscfrcerf, Tanzania'), a NotFoundError is raised
@jguthrie100
Copy link
Author

I found that entering a bad address in the directions API just returns a standard ApiError. I thought it would be nice to have something a bit more specific

(https://developers.google.com/maps/documentation/javascript/directions#DirectionsStatus)

@coveralls
Copy link

coveralls commented Jun 3, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 93151a3 on jguthrie100:add_not_found_error into 46746fd on edwardsamuel:master.

Copy link
Owner

@edwardsamuel edwardsamuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @jguthrie100!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants