Home
last modified time | relevance | path

Searched refs:AbortError (Results 1 – 23 of 23) sorted by relevance

/third_party/node/lib/internal/timers/
Dpromises.js17 AbortError,
26 reject(new AbortError());
56 return PromiseReject(new AbortError());
101 return PromiseReject(new AbortError());
/third_party/node/test/parallel/
Dtest-timers-promisified.js49 assert.rejects(setTimeout(10, undefined, { signal }), /AbortError/);
57 assert.rejects(setTimeout(10, undefined, { signal }), /AbortError/);
63 assert.rejects(setImmediate(10, { signal }), /AbortError/);
71 assert.rejects(setImmediate(10, { signal }), /AbortError/);
Dtest-child-process-exec-abortcontroller-promisified.js22 assert.rejects(promise, /AbortError/, 'post aborted sync signal failed')
46 assert.rejects(promise, /AbortError/, 'pre aborted signal failed')
/third_party/node/lib/internal/fs/
Dwatchers.js11 AbortError,
318 throw new AbortError();
325 rej(new AbortError());
373 throw new AbortError();
Dpromises.js26 const { AbortError, codes, hideStackFrames } = require('internal/errors');
257 throw new AbortError();
/third_party/node/lib/internal/
Dblob.js44 AbortError,
209 return reject(new AbortError());
Derrors.js743 class AbortError extends Error { class
764 AbortError, property
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DErrors.h40 static Napi::Error AbortError(Napi::Env);
DGPUBuffer.cpp94 c->promise.Reject(Errors::AbortError(c->env)); in mapAsync()
DErrors.cpp115 Napi::Error Errors::AbortError(Napi::Env env) { in AbortError() function in wgpu::binding::Errors
/third_party/node/doc/api/
Dtimers.md253 returned Promises will be rejected with an `'AbortError'`.
267 if (err.name === 'AbortError')
286 if (err.name === 'AbortError')
Dchild_process.md262 the error passed to the callback will be an `AbortError`:
269 console.log(error); // an AbortError
369 the error passed to the callback will be an `AbortError`:
376 console.log(error); // an AbortError
475 the error passed to the callback will be an `AbortError`:
488 // This will be called with err being an AbortError if the controller aborts
668 the error passed to the callback will be an `AbortError`:
676 // This will be called with err being an AbortError if the controller aborts
Dreadline.md313 an `AbortController` it will reject with an `AbortError`.
Dfs.md967 request is aborted the promise returned is rejected with an `AbortError`:
982 // When a request is aborted - err is an AbortError
1232 if (err.name === 'AbortError')
1308 // When a request is aborted - err is an AbortError
2896 request is aborted the callback is called with an `AbortError`:
3956 // When a request is aborted - the callback is called with an AbortError
Devents.md933 if (error.name === 'AbortError') {
Derrors.md625 order to be compatible with the web platform's `AbortError`.
Dhttp2.md888 event with an `AbortError` error.
/third_party/node/lib/
Dchild_process.js50 AbortError,
622 child.emit('error', new AbortError());
D_http_client.js55 const { AbortError, connResetException, codes } = require('internal/errors');
179 const listener = (e) => this.destroy(new AbortError());
Dreadline.js68 AbortError,
412 reject(new AbortError());
/third_party/node/lib/internal/http2/
Dcore.js104 AbortError
1736 const aborter = () => stream.destroy(new AbortError());
/third_party/node/test/fixtures/wpt/resources/
Dtestharness.js1420 AbortError: 20, property
/third_party/node/doc/changelogs/
DCHANGELOG_V14.md1398 …//github.com/nodejs/node/commit/679973866d)] - **timers**: reject with AbortError on cancellation …
1698 * [[`a27534e883`](https://github.com/nodejs/node/commit/a27534e883)] - **doc**: fix AbortError exam…