@@ -137,12 +137,6 @@ E('ERR_IPC_DISCONNECTED', 'IPC channel is already disconnected');
137
137
E ( 'ERR_IPC_ONE_PIPE' , 'Child process can have only one IPC pipe' ) ;
138
138
E ( 'ERR_IPC_SYNC_FORK' , 'IPC cannot be used with synchronous forks' ) ;
139
139
E ( 'ERR_MISSING_ARGS' , missingArgs ) ;
140
- E ( 'ERR_STDERR_CLOSE' , 'process.stderr cannot be closed' ) ;
141
- E ( 'ERR_STDOUT_CLOSE' , 'process.stdout cannot be closed' ) ;
142
- E ( 'ERR_UNKNOWN_BUILTIN_MODULE' , ( id ) => `No such built-in module: ${ id } ` ) ;
143
- E ( 'ERR_UNKNOWN_SIGNAL' , ( signal ) => `Unknown signal: ${ signal } ` ) ;
144
- E ( 'ERR_UNKNOWN_STDIN_TYPE' , 'Unknown stdin file type' ) ;
145
- E ( 'ERR_UNKNOWN_STREAM_TYPE' , 'Unknown stream file type' ) ;
146
140
E ( 'ERR_NAPI_CONS_FUNCTION' , 'Constructor must be a function' ) ;
147
141
E ( 'ERR_NAPI_CONS_PROTOTYPE_OBJECT' , 'Constructor.prototype must be an object' ) ;
148
142
E ( 'ERR_NO_CRYPTO' , 'Node.js is not compiled with OpenSSL crypto support' ) ;
@@ -153,6 +147,12 @@ E('ERR_SOCKET_BAD_TYPE',
153
147
E ( 'ERR_SOCKET_CANNOT_SEND' , 'Unable to send data' ) ;
154
148
E ( 'ERR_SOCKET_BAD_PORT' , 'Port should be > 0 and < 65536' ) ;
155
149
E ( 'ERR_SOCKET_DGRAM_NOT_RUNNING' , 'Not running' ) ;
150
+ E ( 'ERR_STDERR_CLOSE' , 'process.stderr cannot be closed' ) ;
151
+ E ( 'ERR_STDOUT_CLOSE' , 'process.stdout cannot be closed' ) ;
152
+ E ( 'ERR_UNKNOWN_BUILTIN_MODULE' , ( id ) => `No such built-in module: ${ id } ` ) ;
153
+ E ( 'ERR_UNKNOWN_SIGNAL' , ( signal ) => `Unknown signal: ${ signal } ` ) ;
154
+ E ( 'ERR_UNKNOWN_STDIN_TYPE' , 'Unknown stdin file type' ) ;
155
+ E ( 'ERR_UNKNOWN_STREAM_TYPE' , 'Unknown stream file type' ) ;
156
156
// Add new errors from here...
157
157
158
158
function invalidArgType ( name , expected , actual ) {
0 commit comments