一个建议-自定义异常返回函数执行出错信息
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
The issue names remote operations such as clickscreen and clickview, but no files or tests. Start by locating those implementations and the other helper methods that currently return boolean, return void, or log failures. Define the consistent return and exception behavior, then verify the affected operations and their failure paths.
Written by the indexing model from the issue text.
Description
remote的一些操作返回值为void(clickscreen),一些返回值为boolean(clickview),能不能统一一下,全部改为返回void,而返回为boolean的,失败的点返回一些自定义异常,这样函数执行失败,返回的信息稍微多一点。同样其他的一些与空间无关的辅助方法,失败也最好别用log的形式,多定义一些异常,会不会更清晰一点?
- Dominant language
- Java
- Stars
- 367
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from baidu/Cafe
-
Difficulty 1/5 Under an hour Newbie friendliness 1/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
成功跨进程后,如何对新的app进行操作?Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
求Cafe零基础教程Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
scylladb/scylla-cdc-source-connector#402 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ahmedmmordi/store-app#8 ·
-
jhipster heroku fails on heroku git:remote when reusing an existing app outside a git repositoryOpenarea: triage theme: undefined
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
jhipster/generator-jhipster#36018 ·
Maintainers usually reply within 1 day