module Byebug::Helpers::EvalHelper

def error_eval(str, binding = frame._binding)


handling the errors at an error level.
Evaluates a string containing Ruby code in a specific binding,
def error_eval(str, binding = frame._binding)
  safe_eval(str, binding) { |e| raise(e, msg(e)) }
end