Answers for "how to throw error in ruby"

0

ruby raise error

raise StandardError.new "This is an exception"
Posted by: Guest on January-04-2021
0

ruby raise error

raise "This is an exception"
Posted by: Guest on June-11-2021

Browse Popular Code Answers by Language