On 5 Oct 2012, at 02:15, ajay paswan <lists / ruby-forum.com> wrote:

> ajay paswan wrote in post #1078471:
>> Like I want to catch two errors saparately:
>> 1. when somebody closes the browser intentionally. Or it is closed by
>> some error, I mean any browser related error.
> 
> Please help me somebody. I am stuck here. 
> 

What have you tried so far?