-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write down the first version of Code Style and Quality Guide #26
Comments
Hi @gregwebs I can see from the document there are two suggestions valid left
Do you plan to add them, too? |
No to packages- too unconventional. We definitely need a guide to error handling. I am not sure if something like that already exists for TiDB |
IIRC @disking ever wrote an analyze about pingcap/errors (in Chinese, though). @disking do you know more about if something for error handling already exists for TiDB? |
The best practices of reporting errors:
|
Thanks for your comments @gregwebs @djshow832 . I think the original issue "Write down the first version of Code Style and Quality Guide" is done since we have rules on this topic. For writing down style guides of error handling. I will create another issue dedicatedly. |
https://github.com/zz-jason/tidb-dev-guide/edit/master/contribute-to-tidb/code-style-and-quality-guide.md
@gregwebs has several excellent shares offline. I'd like to invite you to enrich this chapter.
The text was updated successfully, but these errors were encountered: