|
@ -134,11 +134,15 @@ E('ERR_INVALID_TUPLE', '%s must be an iterable %s tuple'); |
|
|
E('ERR_INVALID_URL', 'Invalid URL: %s'); |
|
|
E('ERR_INVALID_URL', 'Invalid URL: %s'); |
|
|
E('ERR_INVALID_URL_SCHEME', |
|
|
E('ERR_INVALID_URL_SCHEME', |
|
|
(expected) => `The URL must be ${oneOf(expected, 'scheme')}`); |
|
|
(expected) => `The URL must be ${oneOf(expected, 'scheme')}`); |
|
|
|
|
|
E('ERR_INVALID_REPL_HISTORY', |
|
|
|
|
|
(repl_history) => `Expected array, got ${repl_history}`); |
|
|
E('ERR_IPC_CHANNEL_CLOSED', 'channel closed'); |
|
|
E('ERR_IPC_CHANNEL_CLOSED', 'channel closed'); |
|
|
E('ERR_IPC_DISCONNECTED', 'IPC channel is already disconnected'); |
|
|
E('ERR_IPC_DISCONNECTED', 'IPC channel is already disconnected'); |
|
|
E('ERR_IPC_ONE_PIPE', 'Child process can have only one IPC pipe'); |
|
|
E('ERR_IPC_ONE_PIPE', 'Child process can have only one IPC pipe'); |
|
|
E('ERR_IPC_SYNC_FORK', 'IPC cannot be used with synchronous forks'); |
|
|
E('ERR_IPC_SYNC_FORK', 'IPC cannot be used with synchronous forks'); |
|
|
E('ERR_MISSING_ARGS', missingArgs); |
|
|
E('ERR_MISSING_ARGS', missingArgs); |
|
|
|
|
|
E('ERR_PARSE_HISTORY_DATA', |
|
|
|
|
|
(oldHistoryPath) => `Could not parse history data in ${oldHistoryPath}`); |
|
|
E('ERR_STDERR_CLOSE', 'process.stderr cannot be closed'); |
|
|
E('ERR_STDERR_CLOSE', 'process.stderr cannot be closed'); |
|
|
E('ERR_STDOUT_CLOSE', 'process.stdout cannot be closed'); |
|
|
E('ERR_STDOUT_CLOSE', 'process.stdout cannot be closed'); |
|
|
E('ERR_UNKNOWN_BUILTIN_MODULE', (id) => `No such built-in module: ${id}`); |
|
|
E('ERR_UNKNOWN_BUILTIN_MODULE', (id) => `No such built-in module: ${id}`); |
|
|