mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
errors: migrate lib/console
Migrate console.js to use internal/errors.js. PR-URL: https://github.com/nodejs/node/pull/11340 Ref: https://github.com/nodejs/node/issues/11273 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
This commit is contained in:
1 parent
ae5e65c72f
commit
0ecdf29340
4 files changed
+32
-10
No files matched your search
@@ -570,6 +570,13 @@ The `'ERR_ARG_NOT_ITERABLE'` error code is used generically to identify that an
|
||||
iterable argument (i.e. a value that works with `for...of` loops) is required,
|
||||
but not provided to a Node.js API.
|
||||
|
||||
<a id="ERR_CONSOLE_WRITABLE_STREAM"></a>
|
||||
### ERR_CONSOLE_WRITABLE_STREAM
|
||||
|
||||
The `ERR_CONSOLE_WRITABLE_STREAM` error code is thrown when `Console` is
|
||||
instantiated without `stdout` stream or when `stdout` or `stderr` streams
|
||||
are not writable.
|
||||
|
||||
<a id="ERR_INVALID_ARG_TYPE"></a>
|
||||
### ERR_INVALID_ARG_TYPE
|
||||
|
||||
|
||||
Reference in new issue
Block a user