node/doc/api
Jonas Geiler 9fbf0cbc60
doc: use any for worker_threads.Worker 'error' event argument err
A worker thread can throw anything via the `throw` keyword, which gets
passed directly to 'error' event listeners. The event listener should
not assume it is an `Error` object.

PR-URL: https://github.com/nodejs/node/pull/60300
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2025-10-19 22:37:00 +02:00
..
addons.md doc,src,test: replace use of deprecated GetIsolate 2025-10-04 18:48:35 +02:00
assert.md doc, assert: correct order of changes entries 2025-10-18 13:36:07 +00:00
async_context.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
async_hooks.md doc,tools: enforce use of node: prefix 2024-07-21 15:44:27 +00:00
buffer.md doc: fix blob.bytes() heading level 2025-10-16 08:17:53 +00:00
child_process.md doc: fix typo on child_process.md 2025-10-06 09:11:55 +00:00
cli.md doc: add --heap-snapshot-on-oom to useful v8 flag 2025-10-17 05:24:57 +00:00
cluster.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
console.md 2025-10-08, Version 24.10.0 (Current) 2025-10-08 19:44:10 -03:00
corepack.md doc: clarify future Corepack removal in v25+ 2025-04-14 03:25:03 +00:00
crypto.md doc,crypto: reorder ML-KEM in the asymmetric key types table 2025-10-01 12:25:45 +00:00
debugger.md inspector: introduce the --inspect-wait flag 2024-05-11 18:48:30 +00:00
deprecations.md 2025-10-15, Version 25.0.0 (Current) 2025-10-15 13:27:47 -03:00
dgram.md 2025-06-09, Version 24.2.0 (Current) 2025-06-09 23:45:29 +02:00
diagnostics_channel.md 2025-09-24, Version 22.20.0 'Jod' (LTS) 2025-09-24 13:04:16 +00:00
dns.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
documentation.md doc: clarify release candidate stability index 2025-08-02 10:58:21 +00:00
domain.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
embedding.md doc: improve c++ embedder API doc 2024-11-01 03:43:53 +00:00
environment_variables.md doc: mark .env files support as stable 2025-10-03 15:43:10 +02:00
errors.md doc: disambiguate top-level worker_threads module exports 2025-10-10 12:17:12 +00:00
esm.md doc: rephrase dynamic import() description 2025-09-12 06:40:24 +00:00
events.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
fs.md 2025-10-15, Version 25.0.0 (Current) 2025-10-15 13:27:47 -03:00
globals.md 2025-10-15, Version 25.0.0 (Current) 2025-10-15 13:27:47 -03:00
http.md http: add optimizeEmptyRequests server option 2025-10-14 12:17:53 +00:00
http2.md 2025-09-24, Version 22.20.0 'Jod' (LTS) 2025-09-24 13:04:16 +00:00
https.md 2025-07-31, Version 24.5.0 (Current) 2025-07-31 23:44:19 +02:00
index.md doc: add new environment variables doc page 2025-07-20 20:53:54 +00:00
inspector.md 2025-08-28, Version 22.19.0 'Jod' (LTS) 2025-08-28 23:08:02 +02:00
intl.md doc: improve documentation about ICU data fallback 2023-09-22 13:24:23 +00:00
module.md 2025-10-15, Version 25.0.0 (Current) 2025-10-15 13:27:47 -03:00
modules.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
n-api.md 2025-10-15, Version 25.0.0 (Current) 2025-10-15 13:27:47 -03:00
net.md 2025-08-28, Version 22.19.0 'Jod' (LTS) 2025-08-28 23:08:02 +02:00
os.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
packages.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
path.md 2025-09-24, Version 22.20.0 'Jod' (LTS) 2025-09-24 13:04:16 +00:00
perf_hooks.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
permissions.md src,permission: add --allow-inspector ability 2025-09-11 20:10:02 +00:00
process.md doc: disambiguate top-level worker_threads module exports 2025-10-10 12:17:12 +00:00
punycode.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
querystring.md doc: get rid of unnecessary eslint-skip comments 2023-11-22 19:03:33 +00:00
quic.md doc: fix quic session instance typo 2025-08-29 02:24:57 +00:00
readline.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
repl.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
report.md 2025-01-07, Version 22.13.0 'Jod' (LTS) 2025-01-07 14:36:47 -05:00
single-executable-applications.md 2025-09-24, Version 22.20.0 'Jod' (LTS) 2025-09-24 13:04:16 +00:00
sqlite.md doc: createSQLTagStore -> createTagStore 2025-10-11 22:16:14 +00:00
stream.md lib: fix isReadable and isWritable return type value 2025-09-07 14:50:36 +00:00
string_decoder.md doc: add esm examples to node:string_decoder 2024-10-26 20:36:25 +00:00
synopsis.md doc: clarify explaination text on how to run the example 2023-10-06 13:37:31 +00:00
test.md 2025-09-24, Version 22.20.0 'Jod' (LTS) 2025-09-24 13:04:16 +00:00
timers.md 2025-06-09, Version 24.2.0 (Current) 2025-06-09 23:45:29 +02:00
tls.md doc: update OpenSSL default security level to 2 2025-09-08 07:57:40 +00:00
tracing.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
tty.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
typescript.md doc: update decorator documentation to reflect actual policy 2025-10-19 08:34:28 +00:00
url.md doc: improve code snippet alternative of url.parse() using WHATWG URL 2025-10-13 01:50:34 +00:00
util.md 2025-10-15, Version 25.0.0 (Current) 2025-10-15 13:27:47 -03:00
v8.md 2025-10-15, Version 25.0.0 (Current) 2025-10-15 13:27:47 -03:00
vm.md vm: make vm.Module.evaluate() conditionally synchronous 2025-10-18 08:20:47 +00:00
wasi.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
webcrypto.md doc,crypto: update subtle.generateKey and subtle.importKey 2025-09-13 08:55:17 +00:00
webstreams.md 2025-09-24, Version 22.20.0 'Jod' (LTS) 2025-09-24 13:04:16 +00:00
worker_threads.md doc: use any for worker_threads.Worker 'error' event argument err 2025-10-19 22:37:00 +02:00
zlib.md doc: add missing Zstd strategy constants 2025-08-19 18:38:44 +00:00