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

Change APIError to subclass StandardError, not Exception #31

Closed
arsduo opened this issue Feb 9, 2011 · 2 comments
Closed

Change APIError to subclass StandardError, not Exception #31

arsduo opened this issue Feb 9, 2011 · 2 comments

Comments

@arsduo
Copy link
Owner

arsduo commented Feb 9, 2011

No description provided.

@arsduo
Copy link
Owner Author

arsduo commented Feb 9, 2011

StandardError is the intended root class for application-generated exceptions, not Exception.

Interesting factoid on that topic: "A rescue clause without an explicit Exception class will rescue all StandardErrors (and only those)." (http://www.ruby-doc.org/core/classes/StandardError.html)

@arsduo
Copy link
Owner Author

arsduo commented Feb 19, 2011

Done in pulsd-master branch -- thanks to kbighorse and pulsd!

This issue was closed.
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

No branches or pull requests

1 participant