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:
- Capitalized first word at the beginning of the message
TypeError: First argument should be a string or buffer
Error: "name" argument is required
Error: Bad argument // instead of "bad arg" which is used now in SyncWriteStream.prototype.write
RangeError: "n" should be less than or equal to "kMaxLength"
cc @iojs/collaborators
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