Where to find RoR exceptions?

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

On 03/10/06, Zouplaz [email protected] 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. :wink:

Paul.

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. :wink:

Paul.

Thanks a lot !