mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
e912c67d24
Covert lib/dgram.js over to using lib/internal/errors.js for generating Errors. See [using-internal-errors.md](https://github.com/nodejs/node/blob/master/doc/guides/using-internal-errors.md) for more details. I have not addressed the cases that use errnoException() and exceptionWithHostPort() helper methods as changing these would require fixing the tests across all of the different files that use them. In addition, these helpers already add a `code` to the Error and we'll have to discuss how that interacts with the `code` used by lib/internal/errors.js. I believe we should convert all users of errnoException and exceptionWithHostPort in a PR dedicated to that conversion. PR-URL: https://github.com/nodejs/node/pull/12926 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Ruben Bridgewater <ruben.bridgewater@fintura.de> |
||
---|---|---|
.. | ||
cluster | ||
process | ||
streams | ||
test | ||
bootstrap_node.js | ||
buffer.js | ||
child_process.js | ||
errors.js | ||
freelist.js | ||
fs.js | ||
http.js | ||
linkedlist.js | ||
module.js | ||
net.js | ||
process.js | ||
querystring.js | ||
readline.js | ||
readme.md | ||
repl.js | ||
socket_list.js | ||
url.js | ||
util.js | ||
v8_prof_polyfill.js | ||
v8_prof_processor.js |
Internal Modules
The modules in lib/internal
are intended for internal use in Node.js core
only, and are not accessible with require()
from user modules. These are
subject to change at any time. Reliance on these modules outside of core
is not supported in any way.