# Can anybody tell me please!

**URL:** <https://www.ruby-forum.com/t/can-anybody-tell-me-please/115432>\
**Category:** Ruby\
**Created:** [September 25, 2007, 8:34am UTC](https://www.ruby-forum.com/t/can-anybody-tell-me-please/115432 "2007-09-25T08:34:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vellingiri](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5fc32e/32.png) [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Post date:** [September 25, 2007, 8:34am UTC](https://www.ruby-forum.com/t/can-anybody-tell-me-please/115432/1 "2007-09-25T08:34:50Z")

</div>

I have read about Exceptions.  
While reading all the error,I have faced lot of problems.  
here I have listed out the more errors.  
I want to know the uses of all errors.  
anyone ,who knows very well in exceptions,that person could explain the  
errors for me.  
List of errors:

```
* ArgumentError
* IndexError
* Interrupt
* LoadError
* NameError
* NoMemoryError
* NoMethodError
* NotImplementedError
* RangeError
* RuntimeError
* ScriptError
* SecurityError
* SignalException
* StandardError
* SyntaxError
* SystemCallError
* SystemExit
* TypeError

```

by  
vellingiri.

---

<div class="post-metadata">

**Author:** ![vellingiri](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5fc32e/32.png) [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Post date:** [September 25, 2007, 3:14pm UTC](https://www.ruby-forum.com/t/can-anybody-tell-me-please/115432/2 "2007-09-25T15:14:31Z")

</div>

On 9/25/07, Vellingiri A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I have read about Exceptions.  
> While reading all the error,I have faced lot of problems.  
> here I have listed out the more errors.  
> I want to know the uses of all errors.  
> anyone ,who knows very well in exceptions,that person could explain the  
> errors for me.

You can see the Exceptions hierarchy here:

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

Here are brief explanations:

> List of errors:  
> \* ArgumentError  
> more or less arguments were sent to a method than expected  
> \* IndexError  
> I guess invalid index (i.e. reading from array past its end)  
> \* Interrupt  
> Ctrl-Break pressed (SIGINT)  
> \* LoadError  
> failure in load or require  
> \* NameError  
> \* NoMemoryError  
> Out of memory  
> \* NoMethodError  
> invalid method called - no such method is defined  
> \* NotImplementedError  
> placeholder - you put raise NotImplementedError into methods that you  
> plan to implement later, and want to see clearly (e.g. in your tests)  
> that the method is still not implemented  
> \* RangeError  
> i guess invalid range specified  
> \* RuntimeError  
> general runtime error (default for empty raise)  
> \* ScriptError  
> general error (see hierarchy)  
> \* SecurityError  
> see $SAFE and taint  
> \* SignalException  
> probably something with signal handling  
> \* StandardError  
> general base class  
> \* SyntaxError  
> obvious  
> \* SystemCallError  
> obvious  
> \* SystemExit  
> i guess Kernel#exit raises this  
> \* TypeError  
> ?
