class RuboCop::Cop::Lint::ShadowedException
def rescued_exceptions(rescue_group)
-
rescue_group
(RuboCop::AST::Node
) -- is a node of array_type
def rescued_exceptions(rescue_group) klasses = *rescue_group klasses.map do |klass| next unless klass.const_type? klass.source end.compact end