# Best practices for exception hierarchies?

**URL:** <https://rubytalk.org/t/best-practices-for-exception-hierarchies/25909>\
**Category:** ruby-talk\
**Created:** [19 March 2006 18:11 UTC](https://rubytalk.org/t/best-practices-for-exception-hierarchies/25909 "2006-03-19T18:11:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joshua\_Haberman1](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@Joshua\_Haberman1](https://rubytalk.org/u/Joshua_Haberman1)\
**Post date:** [19 March 2006 18:11 UTC](https://rubytalk.org/t/best-practices-for-exception-hierarchies/25909/1 "2006-03-19T18:11:41Z")

</div>

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
