# Where to find RoR exceptions?

**URL:** <https://www.ruby-forum.com/t/where-to-find-ror-exceptions/70852>\
**Category:** Ruby\
**Created:** [October 3, 2006, 3:25pm UTC](https://www.ruby-forum.com/t/where-to-find-ror-exceptions/70852 "2006-10-03T15:25:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zouplaz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/a4c791/32.png) [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Post date:** [October 3, 2006, 3:25pm UTC](https://www.ruby-forum.com/t/where-to-find-ror-exceptions/70852/1 "2006-10-03T15:25:42Z")

</div>

Hello, where can I find a extensive list of the exceptions classes  
defined by Rails ?

There’s nothing in the API doc

Thanks by advance

---

<div class="post-metadata">

**Author:** ![Zouplaz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/a4c791/32.png) [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Post date:** [October 3, 2006, 3:43pm UTC](https://www.ruby-forum.com/t/where-to-find-ror-exceptions/70852/2 "2006-10-03T15:43:44Z")

</div>

On 03/10/06, Zouplaz [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello, where can I find a extensive list of the exceptions classes  
> defined by Rails ?
> 
> There’s nothing in the API doc

You can make one:

% script/console

> > ObjectSpace.each\_object(Class) do |e| p e if  
> > e.ancestors.include?(Exception); end

Subtracting the exception classes that exist before Rails’s libraries  
are included is left as an exercise for the reader. 😉

Paul.

---

<div class="post-metadata">

**Author:** ![Zouplaz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/a4c791/32.png) [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Post date:** [October 4, 2006, 10:41am UTC](https://www.ruby-forum.com/t/where-to-find-ror-exceptions/70852/3 "2006-10-04T10:41:59Z")

</div>

le 03/10/2006 15:43, Paul B. nous a dit:

> e.ancestors.include?(Exception); end
> 
> Subtracting the exception classes that exist before Rails’s libraries  
> are included is left as an exercise for the reader. 😉
> 
> Paul.

Thanks a lot !
