ruby raise standard error code example Example: ruby rase exception raise StandardError.new "This is an exception"