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

Ticket 44 errors should raise exceptions #45

Merged

Conversation

mattseymour
Copy link
Contributor

Functions should return Exceptions not print messages and None see ticket #44 for more information.

Matt Seymour added 2 commits August 21, 2015 10:31
Added URLError exception to __init__.py which is raised when
an invalid URL is sent to functions. IOError raised when file
does not exist.
The removed code block is called in `find_proxy` there is no
need to duplicate the code.
@mattseymour mattseymour force-pushed the ticket-44--errors-should-raise-exceptions branch from c0af81b to f4dfd04 Compare August 21, 2015 09:31
@manugarg
Copy link
Owner

Thank you, Matt!

manugarg added a commit that referenced this pull request Aug 21, 2015
…e-exceptions

Ticket 44  errors should raise exceptions
@manugarg manugarg merged commit 8ccb74f into manugarg:master Aug 21, 2015
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.

2 participants