From: ajay paswan Date: 2012-10-23T02:57:34+09:00 Subject: Exception handelling in ruby What is diffrence between: rescue => e and rescue Exception => e Is the error caught by 2nd one is included in the error caught by 1st? How to know the type of error I am getting, because i have read that by rescue we can catch particular kind of error. For example: rescue ZeroDivisionError catches an error by division by zero, how to know -the type of error which is 'ZeroDivisionError' here. -- Posted via http://www.ruby-forum.com/.