From: Florian Gross Date: 2004-09-26T06:19:27+09:00 Subject: Re: Nuby: How do I find out what exception was thrown? Brian Schroeder wrote: >># rescue # What would go here? > My Guess: > > begin > File.delete(filename) > rescue e => Errno::EACCESS Other way round. :) (I think the "=>" is read as "to" here.) rescue Errno::EACCESS => error > $stderr.puts "Could not delete" > else > $stderr.puts "Successfully deleted" > end > regards, > Brian More regards, Florian Gross