-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Closed
Labels
errorsIssues and PRs related to JavaScript errors originated in Node.js core.Issues and PRs related to JavaScript errors originated in Node.js core.metaIssues and PRs related to the general management of the project.Issues and PRs related to the general management of the project.
Description
Now that #11220 has landed, we need to begin the process of migrating errors in the */lib.js
source over to use it. A basic guide is provided here.
Note that moving existing errors over to this mechanism should, in general, be considered semver-major
.
Please use the following list to track which files have been migrated over to using the new errors and provide a link back to this issue in the relevant PRs
- Internal
- cluster (No changes required here)
- process
- next_tick.js - process: use internal/errors in internalNextTick #13982
- promises.js - errors, process: port internal/process errors to internal/errors #11294
- stdio.js - errors, process: port internal/process errors to internal/errors #11294
- warning.js - errors, process: port internal/process errors to internal/errors #11294
- streams (No changes required here)
- bootstrap_node.js - errors: assign error code to bootstrap_node created error #11298
- buffer.js - errors: port internal/buffer errors to internal/errors #11341
- child_process.js - errors, child_process: migrate to using internal/errors #11300 + child_process: use internal/errors #14009
- errors.js (No need to migrate itself)
- freelist.js (No changes required here)
- fs.js - errors: port internal/fs errors to internal/errors #11317, internal: use internal/errors #13829,
- linkedlist.js (No changes required here)
- module.js (No changes required here)
- net.js - errors,net: change internal/net.js to use internal/errors.js #11302
- process.js
- readline.js
- repl.js
- socket_list.js - errors socket_list : Migrate errors to internal/errors.js #11356
- url.js - url: port WHATWG URL API to internal/errors #12574
- util.js - internal/util: use internal/errors.js #11301, internal: use internal/errors #13829
- v8_prof_polyfill.js (No changes required here)
- v8_prof_processor.js (No changes required here)
_debug_agent.js(removed in 549e81bfa1)_debugger.js - debugger, errors: migrate to use internal/errors.js #11380(File removed from master)- _http_agent.js
- _http_client.js - http_client, errors: migrate to use internal/errors #14423
- _http_common.js
- _http_incoming.js
- _http_outgoing.js _http_outgoing: migrate to use internal/errors #14735
- _http_server.js
_linklist.js- _tls_common.js (No changes needed here)
- _tls_legacy.js (No changes needed here)
- _tls_wrap.js - errors,tls_wrap: migrate to use internal/errors.js #13476
- assert.js
- async_hooks.js async_hooks,async_wrap: fixups and fewer aborts #14722
- buffer.js #13976
- child_process.js lib/child_process: convert to using internal/errors #15090
- cluster.js (No changes required here)
- console.js - errors, console: migrate to use internal/errors.js #11308
- constants.js (No changes required here)
- crypto.js
- dgram.js - #12926
- dns.js - dns, errors: Migrate to use internal/errors #14212
- domain.js
- events.js - events: migrate to internal/errors #15623
- fs.js - lib/fs: convert to using internal/errors #15043
- http.js (No changes required here)
- https.js - lib/https: convert to using internal/errors #15603
- inspector.js inspector: migrate to internal/errors #15619
- module.js
- net.js - lib/net: Convert to using internal/errors #14782
- os.js (No changes required here)
- path.js - errors, path: migrate to use internal/errors.js #11319
- process.js (No changes required here)
- punycode.js (may not need to do this one)
- querystring.js - lib/querystring: convert to using internal/errors #15565
- readline.js - errors, readline: migrate to use internal/errors.js #11390
- repl.js - errors, repl: migrate to use internal/errors.js #11347
- timers.js - timers: Migrate to use internal/errors #14659
- tls.js - tls: migrate tls.js to use internal/errors.js #13994
- tty.js
- url.js - errors, url: port url errors to internal/errors #13963
- util.js
- v8.js (no changes required here)
- vm.js
- zlib.js - zlib: migrate to internal/errors #15618
stream
related (blocked)
- _stream_duplex.js
- _stream_passthrough.js
- _stream_readable.js
- _stream_transform.js
- _stream_wrap.js - errors,_stream_wrap: change _stream_wrap.js to use internal/errors.js #13291
- _stream_writable.js
- string_decoder.js - string_decoder: Migrate to use internal/errors #14682
- stream.js
@refack: removed GFC label and commented out sentence in description + split off stream stuff
@BridgeAR: updated the list
Metadata
Metadata
Assignees
Labels
errorsIssues and PRs related to JavaScript errors originated in Node.js core.Issues and PRs related to JavaScript errors originated in Node.js core.metaIssues and PRs related to the general management of the project.Issues and PRs related to the general management of the project.