Skip to content

Commit 5040a9d

Browse files
committed
Make inner error messages a little more lenient
1 parent 80e0cfa commit 5040a9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For example, require `Float must be at least 1.0: -100.0` over `Float must be at
3333
> If an error contains one or more inner errors (an error collection), it must **always** contain the following:
3434
- The type of the error containing the inner errors.
3535
- The description for the collection of the inner errors.
36-
- Each inner error as described by the rules, separated by an incrementing integer starting at 1, a colon (*Unicode* code point 58) and a space (*Unicode* code point 32).
36+
- Each inner error as described by the rules, separated by a unique key (if none exists an incrementing integer starting from 1), a colon (*Unicode* code point 58) and a space (*Unicode* code point 32).
3737

3838
> **Always** expand the inner errors of error collections as much as possible for maximum readability.
3939
- **Always** use two space characters (*Unicode* code point 32) for indenting inner errors, **never** horizontal tabs (*Unicode* code point 9) or any other whitespace characters.

0 commit comments

Comments
 (0)