Rails Rescue pone error
begin
# do something that fails...
rescue => error
# error and $! are equivalent here
end
Lioruby
begin
# do something that fails...
rescue => error
# error and $! are equivalent here
end