Forum: Ruby best practices for exception hierarchies?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8d9023bdc5cbadf3221a0b66a46a34e6?d=identicon&s=25 Joshua Haberman (Guest)
on 2006-03-19 19:11
(Received via mailing list)
What are best-practices for exception hierarchies?

Should my exceptions derive from Exception, or StandardError, or
RuntimeError?

Should my exceptions be called FooException or FooError?  Does Ruby
give a specific meaning to the difference between an "Error" and an
"Exception?"

Josh
This topic is locked and can not be replied to.