class Byebug::CatchCommand
def add(exception)
def add(exception) errmsg pr("catch.errors.not_class", class: exception) if warning_eval(exception.is_a?(Class).to_s) puts pr("catch.added", exception: exception) Byebug.add_catchpoint(exception) end
def add(exception) errmsg pr("catch.errors.not_class", class: exception) if warning_eval(exception.is_a?(Class).to_s) puts pr("catch.added", exception: exception) Byebug.add_catchpoint(exception) end