# List of Eror Messages

**URL:** <https://www.ruby-forum.com/t/list-of-eror-messages/120910>\
**Category:** Ruby\
**Created:** [November 21, 2007, 6:16pm UTC](https://www.ruby-forum.com/t/list-of-eror-messages/120910 "2007-11-21T18:16:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mahen](https://www.ruby-forum.com/u/mahen)\
**Post date:** [November 21, 2007, 6:16pm UTC](https://www.ruby-forum.com/t/list-of-eror-messages/120910/1 "2007-11-21T18:16:43Z")

</div>

I wanted to know if there is someplace where I can get a list of all  
the error messages generated by Ruby as well as explanations.

---

<div class="post-metadata">

**Author:** ![mahen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mahen](https://www.ruby-forum.com/u/mahen)\
**Post date:** [November 21, 2007, 10:18pm UTC](https://www.ruby-forum.com/t/list-of-eror-messages/120910/2 "2007-11-21T22:18:27Z")

</div>

On Nov 21, 2007, at 09:16 , Mahen S. wrote:

> I wanted to know if there is someplace where I can get a list of all  
> the error messages generated by Ruby as well as explanations.

The QuickRef has the list of exceptions:

> **[Ruby | zenspider.com | by ryan davis](https://www.zenspider.com/ruby/)**
>
> Ruby facts, opinions, source code, links, and stuff.

I know of no list of error messages that exceptions can contain  
outside of reading the source.

---

<div class="post-metadata">

**Author:** ![mahen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mahen](https://www.ruby-forum.com/u/mahen)\
**Post date:** [November 21, 2007, 11:19pm UTC](https://www.ruby-forum.com/t/list-of-eror-messages/120910/3 "2007-11-21T23:19:35Z")

</div>

On Nov 21, 2007, at 12:16 PM, Mahen S. wrote:

> ## I wanted to know if there is someplace where I can get a list of all the error messages generated by Ruby as well as explanations.
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

Not really – for a variety of reasons.

1. Error messages come from an indefinite number of sources – from  
the Ruby interpreter itself, from built-in library classes, from  
standard library classes, from add-on libraries, etc.

2. The majority of error messages come from classes derived from  
Exception. New Exception subclasses can derived by any developer.  
Another reason there can be no fixed list of error messages.

3. Any Ruby code that creates a new Exception object by executing  
‘raise’ can customize the error message of that particular exception  
object. Another source of indefinitely many error messages.

OTOH, if you are really asking “where can a list of the standard  
Exception subclasses be found?”, the Pickaxe book is a good place to  
look.

Regards, Morton
