Where to find RoR exceptions ?

Z

Zouplaz

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
 
P

Paul Battley

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/consolee.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.
 
Z

Zouplaz

le 03/10/2006 15:43, Paul Battley nous a dit:
You can make one:

% script/console
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 !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,214
Messages
2,571,112
Members
47,704
Latest member
DavidSuita

Latest Threads

Top