CodeQL library for Ruby
codeql/ruby-all 6.0.4 (changelog, source)
Search

Member predicate RescueClause::getVariableExpr

Gets the variable to which to assign the matched exception, if any. For example err in:

begin
  do_something
rescue StandardError => err
  handle_error(err)
end
LhsExpr getVariableExpr()