class Byebug::CatchCommand
def remove(exception)
def remove(exception) unless Byebug.catchpoints.member?(exception) return errmsg pr('catch.errors.not_found', exception: exception) end puts pr('catch.removed', exception: exception) Byebug.catchpoints.delete(exception) end