Home
last modified time | relevance | path

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

12

/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/grpc/src/python/grpcio_tests/tests_aio/unit/
Dabort_test.py50 except aio.AbortError as e:
58 except aio.AbortError as e:
/third_party/grpc/src/python/grpcio/grpc/aio/
D__init__.py24 AbortError, BaseError, InternalError,
/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/grpc/doc/python/sphinx/
Dgrpc_asyncio.rst75 .. autoexception:: AbortError
/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') {
/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/grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/
Dserver.pyx.pxi172 self._rpc_state.abort_exception = AbortError('Locally aborted.')
272 # Abort should raise an AbortError
647 except AbortError as e:
648 # Caught AbortError check if it is the same one
Dcommon.pyx.pxi94 class AbortError(BaseError): class
/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

12