Skip to content

Commit ea2b576

Browse files
maclover7MylesBorins
authored andcommitted
errors: remove duplicated ERR_HTTP_INVALID_STATUS_CODE error
PR-URL: #15003 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 69e3bc6 commit ea2b576

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/errors.js

-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ E('ERR_ENCODING_NOT_SUPPORTED',
118118
E('ERR_FALSY_VALUE_REJECTION', 'Promise was rejected with falsy value');
119119
E('ERR_HTTP_HEADERS_SENT',
120120
'Cannot render headers after they are sent to the client');
121-
E('ERR_HTTP_INVALID_STATUS_CODE', 'Invalid status code: %s');
122121
E('ERR_HTTP_TRAILER_INVALID',
123122
'Trailers are invalid with this transfer encoding');
124123
E('ERR_HTTP_INVALID_CHAR', 'Invalid character in statusMessage.');

0 commit comments

Comments
 (0)