Home
last modified time | relevance | path

Searched defs:cause (Results 1 – 25 of 110) sorted by relevance

12345

/third_party/typescript/tests/baselines/reference/
DerrorCause(target=es2021).js4 let err = new Error("foo", { cause: new Error("bar") }); property
6 let anotherErr = new Error("foo", { cause: a }); property
9 new EvalError("foo", { cause: new Error("bar") }); property
10 new EvalError("foo", { cause: a }); property
11 new RangeError("foo", { cause: new Error("bar") }); property
12 new ReferenceError("foo", { cause: new Error("bar") }); property
13 new SyntaxError("foo", { cause: new Error("bar") }); property
14 new TypeError("foo", { cause: new Error("bar") }); property
15 new URIError("foo", { cause: new Error("bar") }); property
16 new AggregateError([], "foo", { cause: new Error("bar") }); property
[all …]
DerrorCause(target=esnext).js4 let err = new Error("foo", { cause: new Error("bar") }); property
6 let anotherErr = new Error("foo", { cause: a }); property
9 new EvalError("foo", { cause: new Error("bar") }); property
10 new EvalError("foo", { cause: a }); property
11 new RangeError("foo", { cause: new Error("bar") }); property
12 new ReferenceError("foo", { cause: new Error("bar") }); property
13 new SyntaxError("foo", { cause: new Error("bar") }); property
14 new TypeError("foo", { cause: new Error("bar") }); property
15 new URIError("foo", { cause: new Error("bar") }); property
16 new AggregateError([], "foo", { cause: new Error("bar") }); property
[all …]
DerrorCause(target=es2022).js4 let err = new Error("foo", { cause: new Error("bar") }); property
6 let anotherErr = new Error("foo", { cause: a }); property
9 new EvalError("foo", { cause: new Error("bar") }); property
10 new EvalError("foo", { cause: a }); property
11 new RangeError("foo", { cause: new Error("bar") }); property
12 new ReferenceError("foo", { cause: new Error("bar") }); property
13 new SyntaxError("foo", { cause: new Error("bar") }); property
14 new TypeError("foo", { cause: new Error("bar") }); property
15 new URIError("foo", { cause: new Error("bar") }); property
16 new AggregateError([], "foo", { cause: new Error("bar") }); property
[all …]
/third_party/node/test/parallel/
Dtest-error-serdes.js51 get cause() { getter in ErrorWithCause
56 get cause() { getter in ErrorWithThowingCause
61 get cause() { getter in ErrorWithCyclicCause
72 assert.strictEqual(cycle(new Error('Error with cause', { cause: 0 })).cause, 0); property
73 assert.strictEqual(cycle(new Error('Error with cause', { cause: -1 })).cause, -1); property
74 assert.strictEqual(cycle(new Error('Error with cause', { cause: 1.4 })).cause, 1.4); property
75 assert.strictEqual(cycle(new Error('Error with cause', { cause: null })).cause, null); property
76 assert.strictEqual(cycle(new Error('Error with cause', { cause: undefined })).cause, undefined); property
77 assert.strictEqual(Object.hasOwn(cycle(new Error('Error with cause', { cause: undefined })), 'cause… property
78 assert.strictEqual(cycle(new Error('Error with cause', { cause: 'foo' })).cause, 'foo'); property
[all …]
Dtest-domexception-cause.js14 const domException = new DOMException('with undefined cause', { name: 'abc', cause: undefined }); property
21 const domException = new DOMException('with string cause', { name: 'abc', cause: 'foo' }); property
29 const domException = new DOMException('with object cause', { name: 'abc', cause: object }); property
Dtest-child-process-exec-abortcontroller-promisified.js23 cause: new DOMException('This operation was aborted', 'AbortError'), property
35 cause: err property
46 cause: 'boom' property
77 assert.rejects(promise, { name: 'AbortError', cause: err }) property
85 assert.rejects(promise, { name: 'AbortError', cause: 'boom' }) property
Dtest-errors-aborterror.js18 const cause = new Error('boom'); constant
19 const err = new AbortError('bang', { cause }); field
/third_party/node/test/message/
Dutil-inspect-error-cause.js12 const cause2 = new FoobarError('Individual message', { cause: cause1 }); property
14 const cause3 = new Error('Stack causes', { cause: cause2 }); property
16 const cause4 = new Error('Number error cause', { cause: 42 }); property
18 cause: { property
26 cause: undefined, property
34 const error = new RangeError('New Stack Frames', { cause: cause2 }); property
35 const error2 = new RangeError('New Stack Frames', { cause: cause3 }); property
/third_party/node/lib/timers/
Dpromises.js47 reject(new AbortError(undefined, { cause: signal?.reason })); property
75 return PromiseReject(new AbortError(undefined, { cause: signal.reason })); property
116 return PromiseReject(new AbortError(undefined, { cause: signal.reason })); property
142 throw new AbortError(undefined, { cause: signal?.reason }); property
163 new AbortError(undefined, { cause: signal.reason }))); property
178 throw new AbortError(undefined, { cause: signal?.reason }); property
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DIllegalIcuArgumentException.java22 public IllegalIcuArgumentException(Throwable cause) { in IllegalIcuArgumentException()
26 public IllegalIcuArgumentException(String errorMessage, Throwable cause) { in IllegalIcuArgumentException()
31 public synchronized IllegalIcuArgumentException initCause(Throwable cause) { in initCause()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DIllegalIcuArgumentException.java24 public IllegalIcuArgumentException(Throwable cause) { in IllegalIcuArgumentException()
28 public IllegalIcuArgumentException(String errorMessage, Throwable cause) { in IllegalIcuArgumentException()
33 public synchronized IllegalIcuArgumentException initCause(Throwable cause) { in initCause()
/third_party/node/deps/npm/node_modules/@sigstore/tuf/dist/
Dtarget.js33 cause: err, property
55 cause: err, property
75 cause: err, property
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DServiceException.java45 public ServiceException(final Throwable cause) { in ServiceException()
49 public ServiceException(final String message, final Throwable cause) { in ServiceException()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DICUException.java40 public ICUException(Throwable cause) { in ICUException()
50 public ICUException(String message, Throwable cause) { in ICUException()
DICUUncheckedIOException.java44 public ICUUncheckedIOException(Throwable cause) { in ICUUncheckedIOException()
54 public ICUUncheckedIOException(String message, Throwable cause) { in ICUUncheckedIOException()
DICUCloneNotSupportedException.java42 public ICUCloneNotSupportedException(Throwable cause) { in ICUCloneNotSupportedException()
52 public ICUCloneNotSupportedException(String message, Throwable cause) { in ICUCloneNotSupportedException()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DICUException.java43 public ICUException(Throwable cause) { in ICUException()
54 public ICUException(String message, Throwable cause) { in ICUException()
DICUUncheckedIOException.java49 public ICUUncheckedIOException(Throwable cause) { in ICUUncheckedIOException()
60 public ICUUncheckedIOException(String message, Throwable cause) { in ICUUncheckedIOException()
DICUCloneNotSupportedException.java45 public ICUCloneNotSupportedException(Throwable cause) { in ICUCloneNotSupportedException()
56 public ICUCloneNotSupportedException(String message, Throwable cause) { in ICUCloneNotSupportedException()
DICUInputTooLongException.java39 public ICUInputTooLongException(Throwable cause) { in ICUInputTooLongException()
50 public ICUInputTooLongException(String message, Throwable cause) { in ICUInputTooLongException()
/third_party/node/deps/npm/node_modules/sigstore/dist/
Derror.js21 constructor(message, cause) { argument
37 constructor({ code, message, cause, }) { property
/third_party/node/deps/npm/node_modules/readable-stream/lib/internal/streams/
Dadd-abort-signal.js31 cause: signal.reason property
38 cause: signal.reason property
/third_party/node/lib/internal/streams/
Dadd-abort-signal.js46 stream.destroy(new AbortError(undefined, { cause: signal.reason })); property
49 stream[kControllerErrorFunction](new AbortError(undefined, { cause: signal.reason })); property
/third_party/typescript/lib/
Dlib.es2022.error.d.ts22 cause?: unknown; property
26 cause?: unknown; property
/third_party/typescript/src/lib/
Des2022.error.d.ts2 cause?: unknown; property
6 cause?: unknown; property

12345