Which exceptions do you catch when you don't specify an exception class in ruby?

Posted by Readonly on Stack Overflow See other posts from Stack Overflow or by Readonly
Published on 2010-05-01T01:19:24Z Indexed on 2010/05/01 1:27 UTC
Read the original article Hit count: 236

Filed under:
|

Which exceptions are you catching when you don't specify an exception class like this:

begin
  # do something
rescue
  puts "Exception!"
end

© Stack Overflow or respective owner

Related posts about ruby

Related posts about exception