Skip to content

Instantly share code, notes, and snippets.

@radarek
Forked from oki/exception.rb
Created December 19, 2009 14:38
begin
#raise
#raise Timeout::Error.new('fuckme')
raise ScriptError
rescue Timeout::Error,RuntimeError,ScriptError => e
puts "OK"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment