Skip to content

Commit fa73087

Browse files
starkwangjasnell
authored andcommitted
errors: keep error codes in alphabetical order
PR-URL: #14242 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent d49e669 commit fa73087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/errors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ E('ERR_BUFFER_OUT_OF_BOUNDS', bufferOutOfBounds);
113113
E('ERR_CONSOLE_WRITABLE_STREAM',
114114
'Console expects a writable stream instance for %s');
115115
E('ERR_CPU_USAGE', 'Unable to obtain cpu usage %s');
116-
E('ERR_NO_LONGER_SUPPORTED', '%s is no longer supported');
117116
E('ERR_FALSY_VALUE_REJECTION', 'Promise was rejected with falsy value');
118117
E('ERR_HTTP_HEADERS_SENT',
119118
'Cannot render headers after they are sent to the client');
@@ -164,6 +163,7 @@ E('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times');
164163
E('ERR_NAPI_CONS_FUNCTION', 'Constructor must be a function');
165164
E('ERR_NAPI_CONS_PROTOTYPE_OBJECT', 'Constructor.prototype must be an object');
166165
E('ERR_NO_CRYPTO', 'Node.js is not compiled with OpenSSL crypto support');
166+
E('ERR_NO_LONGER_SUPPORTED', '%s is no longer supported');
167167
E('ERR_PARSE_HISTORY_DATA', 'Could not parse history data in %s');
168168
E('ERR_SOCKET_ALREADY_BOUND', 'Socket is already bound');
169169
E('ERR_SOCKET_BAD_TYPE',

0 commit comments

Comments
 (0)