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