Narrow the error-code rule to what it forbids, and name the fence rule instead of quoting it
CI / gate (push) Successful in 4s
CI / gate (push) Successful in 4s
This commit is contained in:
@@ -76,7 +76,8 @@ The error surface is a contract too. `ConvertError` is `{ code, message, path }`
|
||||
closed list a consumer may switch exhaustively, the message free text, the path the node's position
|
||||
from the document root. Adding, removing or renaming a code is breaking, so a milestone meeting a
|
||||
new failure cause reuses a code where one fits; the list is complete at `0.1.0`. A code names the
|
||||
cause, never the node — `path` and `message` carry that.
|
||||
cause; where one cause recurs across node types, one code covers them all and `path` and `message`
|
||||
say which.
|
||||
|
||||
## 9. Release automation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user