From: Jeremy Henty Date: 2010-02-14T08:45:05+09:00 Subject: Q: will this always work: rescuing with non-Exception classes I wondered whether the clause rescue would accept any modules, not just exception classes. Well, at least in MRI 1.8.7, it does (example appended). But will this work in all Ruby implementations? Regards, Jeremy Henty Example (prints "Rescued!") module MyModule end class MyException < StandardError include MyModule end begin raise MyException rescue MyModule puts 'Rescued!' end