module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue

@private

Constants

AVOID_RESCUING

These exceptions are dangerous to rescue as rescuing them would interfere with things we should not interfere with.

Public Class Methods

# File rspec-support/lib/rspec/support.rb, line 150
def self.===(exception)
  AVOID_RESCUING.none? { |ar| ar === exception }
end