Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 526bbf8

Browse files
Update 0008-enhancing-api-error-codes.md
1 parent 93ced51 commit 526bbf8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

decisions/0008-enhancing-api-error-codes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ end
9595
In this example, the final message string is already set in the action, so we will not lose anything by also defining the type there as well. Our aim is not to define every possible type of error as its own class; doing so might encourage future developers to reuse errors or create errors that might not have the most detailed information. In some cases, it might be better to leave information a client needs in the detail string if it breaks patterns in a dangerous way. Maintaining the patterns and structure of the API is also a priority. Our aim is to find commonly used logical units of errors that are simple to separate. As a first iteration, we plan to extract errors to condense the error branching in the V7 CLI as much as possible. We can break out further cases as needed based on future requests and user feedback.
9696

9797
# Status
98-
Proposed
98+
Accepted
9999

100100
# Consequences:
101101

0 commit comments

Comments
 (0)