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

Raise specific exception #19

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment
Open

Raise specific exception #19

GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Provide invalid longitude (i.e 90) to encode
2. Check exception type

What is the expected output? 
I expect a specific exception type to catch

What do you see instead?
General exception of Exception type which caught might prevent me from seeing 
other issues.


What version of the product are you using? On what operating system?
python-geohash 0.8.5

Original issue reported on code.google.com by [email protected] on 3 Mar 2015 at 11:17

@GoogleCodeExporter
Copy link
Author

Anyway, isn't latitude 90 a correct one?

Original comment by [email protected] on 3 Mar 2015 at 11:18

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

No branches or pull requests

1 participant