-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Consistent error messages in all modules #1220
Comments
+1 |
1 similar comment
+1 |
What about ending periods? I kinda prefer backticks to quotations for code references, but that's probably just because of markdown. |
@Fishrock123, I think periods are irrelevant in understanding the message of the error another thing that I missed: error message length limit ~60 chars |
@micnic How would that work for error messages that contain dynamic content, such as filenames? |
@mscdex, for error messages with some urls or filenames attached it will not work :) but at least we should take in count this while using some messages like the following ones:
|
+1 Do we have a file where we write down rules such as this? CONTRIBUTING.md doesn't seem to contain anything in regards to code style (and error style). Maybe we should add a STYLE.md or an section to CONTRIBUTING.md. cc: @mikeal |
We don't really have a great place at present to record these sorts of decisions. It would be cool to start a |
We definitely need something like that. +1 |
+1 ! |
Closing as this landed in 20285ad |
Based on PR #892 I want to propose to define some general rules for writing error messages. For the beginning, I propose the following rules:
cc @iojs/collaborators
The text was updated successfully, but these errors were encountered: