CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (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()