module ScoutApm::AllExceptionsExceptOnesWeMustNotRescue
Constants
- AVOID_RESCUING
-
Borrowed from github.com/rspec/rspec-support/blob/v3.8.0/lib/rspec/support.rb#L132-L140 These exceptions are dangerous to rescue as rescuing them would interfere with things we should not interfere with.
Public Class Methods
Source
# File lib/scout_apm/exceptions.rb, line 8 def self.===(exception) AVOID_RESCUING.none? { |ar| ar === exception } end