Skip to content

Commit 82ee689

Browse files
committed
docs(types): the empty-message fallback pin names the name it reads, not "prose"
The by-rule census caught one more carrier of the "always prose" half of the claim, in a title no spelling-census would have matched: "answers prose for a declared envelope whose own message is empty". Measured false in general — a declared envelope whose `message` AND `name` are both empty answers '' — and it contradicted the fallback sentence corrected in the previous commit. True of its own pin, which reads `name` = 'Error'; the title now says that. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XTBcV7zZHmokdyQgXjbyEU
1 parent 9400183 commit 82ee689

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/types/src/driver-error-classification.operator-text.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ describe('[#16657] operatorFacingErrorText — the fallback channel when no caus
150150
expect(operatorFacingErrorText({})).toBe('[object Object]');
151151
});
152152

153-
it('answers prose for a declared envelope whose own message is empty', () => {
153+
it('falls back to the `name` of a declared envelope whose own message is empty', () => {
154154
const empty = rawStatementFault(undefined, '');
155155
expect(operatorFacingErrorText(empty)).toBe('Error');
156156
});

0 commit comments

Comments
 (0)