errors/raise_two_arg.rb

tests/_examples/errors/raise_two_arg.rb in the metorex repository.

begin
  raise RuntimeError, "custom message"
rescue
  puts("caught two-arg raise")
end

Output:

caught two-arg raise