Throw TypeError on read failure

fix(ext/fetch): throw TypeError on read failure (#16219)
Throw TypeError on read failured47b17-fix-throw-typeerror-on-read-failurefixthrow typeerror read failure ext fetch

Committed by marcosc90

commit message
fix(ext/fetch): throw TypeError on read failure (#16219)

Editor assessment

Hard to fault. 'throw TypeError on read failure' names the exact error type and the exact condition, the ext/fetch scope is precise, and the whole header fits easily within limits — ideal for one-line git log scanning and changelog generation. The imperative, lowercase, no-period conventions are all respected. No body, and none is strictly needed because the subject is self-contained; a purist might ask whether callers relied on the previous behavior, but for a small behavioral correction that is a PR-discussion detail. This is what a well-formed fix commit looks like: short, specific, correctly typed.

Browse categories

More fix examples · Back to search