From: Joel Pearson Date: 2012-10-23T08:59:53+09:00 Subject: Re: Exception handelling in ruby rescue => e This rescues any error and lets you use 'e' as a variable to inspect the error. rescue StandardError => e This rescues any error which falls into the 'StandardError' group, and lets you use 'e' as a variable to inspect the error. Think of rescue as a case statement or 'if' operator. You can rescue specific errors using multiple rescue lines. something like the below would catch errors 1 and 2 respectively, and if the error didn't fall into those categories then the third rescue would catch it. rescue 1 rescue 2 rescue -- Posted via http://www.ruby-forum.com/.