module Pry::TooSafeException

def self.===(exception)

def self.===(exception)
  if Pry::HAS_SAFE_LEVEL
    $SAFE > 0 && exception.is_a?(SecurityError)
  else
    exception.is_a?(SecurityError)
  end
end