On 9/25/06, Chris Donhofer <c.donhofer / chello.at> wrote:
> i just noticed that there are some notes on errors raise, but some
> functions that i expect to throw an error, f.i. copy_file, don't.
> how come there's not an IOError or something like it?

In that particular case, you'll likely encounter Errno::* exceptions.
For a list of (core) defined exceptions, see Programming Ruby, or Ruby QuickRef.

Or, require all the libs, and use ObjectSpace.each_object(Exception) {
|e| puts e.name }

That will obviously not give you info on what will a particular method
raise, just what exceptions are there.

J.