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