/third_party/node/test/parallel/ |
H A D | test-error-serdes.js | 51 get cause() { 56 get cause() { 61 get cause() { 66 .defineProperty(new Error('Error with cause'), 'cause', { get() { return { foo: 'bar' }; } }); 68 .defineProperty(new Error('Error with cause'), 'cause', { get() { throw new Error('err'); } }); 70 .defineProperty(new Error('Error with cause'), 'cause', { get() { return errorWithCyclicCause; } }); 72 assert.strictEqual(cycle(new Error('Error with cause', { caus [all...] |
H A D | test-domexception-cause.js | 7 const domException = new DOMException('no cause', 'abc'); 9 strictEqual('cause' in domException, false); 10 strictEqual(domException.cause, undefined); 14 const domException = new DOMException('with undefined cause', { name: 'abc', cause: undefined }); 16 strictEqual('cause' in domException, true); 17 strictEqual(domException.cause, undefined); 21 const domException = new DOMException('with string cause', { name: 'abc', cause: 'foo' }); 23 strictEqual('cause' i [all...] |
H A D | test-child-process-exec-abortcontroller-promisified.js | 23 cause: new DOMException('This operation was aborted', 'AbortError'), 35 cause: err 46 cause: 'boom' 77 assert.rejects(promise, { name: 'AbortError', cause: err }) 85 assert.rejects(promise, { name: 'AbortError', cause: 'boom' })
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/export_to_sheets/ |
H A D | main.go | 33 "../../cause" 67 return cause.Wrap(err, "Unable to load test list") 73 return cause.Wrap(err, "Unable to authenticate") 78 return cause.Wrap(err, "Unable to create sheets") 83 return cause.Wrap(err, "Unable to get spreadsheet") 93 return cause.Wrap(err, "Couldn't get git changes for '%v'", testListDir) 101 return cause.Wrap(err, "Sheet '%v' not found", sheetName) 106 return cause.Wrap(err, "Couldn't get sheet '%v' column headers", sheetName) 113 return cause.Wrap(err, "Couldn't find sheet '%v' column header '%v'", sheetName, columnGitHash) 118 return cause [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | IllegalIcuArgumentException.java | 22 public IllegalIcuArgumentException(Throwable cause) { in IllegalIcuArgumentException() argument 23 super(cause); in IllegalIcuArgumentException() 26 public IllegalIcuArgumentException(String errorMessage, Throwable cause) { in IllegalIcuArgumentException() argument 27 super(errorMessage, cause); in IllegalIcuArgumentException() 31 public synchronized IllegalIcuArgumentException initCause(Throwable cause) { in initCause() argument 32 return (IllegalIcuArgumentException) super.initCause(cause); in initCause()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | IllegalIcuArgumentException.java | 24 public IllegalIcuArgumentException(Throwable cause) { in IllegalIcuArgumentException() argument 25 super(cause); in IllegalIcuArgumentException() 28 public IllegalIcuArgumentException(String errorMessage, Throwable cause) { in IllegalIcuArgumentException() argument 29 super(errorMessage, cause); in IllegalIcuArgumentException() 33 public synchronized IllegalIcuArgumentException initCause(Throwable cause) { in initCause() argument 34 return (IllegalIcuArgumentException) super.initCause(cause); in initCause()
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/regres/ |
H A D | main.go | 49 "../../cause" 220 return cause.Wrap(err, "Couldn't find path '%v'", *path) 226 return cause.Wrap(err, "Couldn't create cache root directory") 252 return cause.Wrap(err, "Couldn't find path to %s", e.name) 269 return cause.Wrap(err, "Couldn't resolve all exes") 273 return cause.Wrap(err, "Couldn't resolve all directories") 278 return cause.Wrap(err, "Couldn't download LLVM toolchain") 284 return cause.Wrap(err, "Couldn't create gerrit client") 328 log.Println(cause.Wrap(err, "Couldn't update info for change '%s'", change.id)) 366 log.Println(cause [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | ICUCloneNotSupportedException.java | 42 * @param cause original exception (normally a {@link CloneNotSupportedException}) 45 public ICUCloneNotSupportedException(Throwable cause) { in ICUCloneNotSupportedException() argument 46 super(cause); in ICUCloneNotSupportedException() 53 * @param cause original exception (normally a {@link CloneNotSupportedException}) 56 public ICUCloneNotSupportedException(String message, Throwable cause) { in ICUCloneNotSupportedException() argument 57 super(message, cause); in ICUCloneNotSupportedException()
|
H A D | ICUInputTooLongException.java | 36 * @param cause original exception 39 public ICUInputTooLongException(Throwable cause) { in ICUInputTooLongException() argument 40 super(cause); in ICUInputTooLongException() 47 * @param cause original exception 50 public ICUInputTooLongException(String message, Throwable cause) { in ICUInputTooLongException() argument 51 super(message, cause); in ICUInputTooLongException()
|
H A D | ICUException.java | 40 * @param cause original exception 43 public ICUException(Throwable cause) { in ICUException() argument 44 super(cause); in ICUException() 51 * @param cause original exception 54 public ICUException(String message, Throwable cause) { in ICUException() argument 55 super(message, cause); in ICUException()
|
H A D | ICUUncheckedIOException.java | 46 * @param cause original exception (normally a {@link java.io.IOException}) 49 public ICUUncheckedIOException(Throwable cause) { in ICUUncheckedIOException() argument 50 super(cause); in ICUUncheckedIOException() 57 * @param cause original exception (normally a {@link java.io.IOException}) 60 public ICUUncheckedIOException(String message, Throwable cause) { in ICUUncheckedIOException() argument 61 super(message, cause); in ICUUncheckedIOException()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | ICUUncheckedIOException.java | 42 * @param cause original exception (normally a {@link java.io.IOException}) 44 public ICUUncheckedIOException(Throwable cause) { in ICUUncheckedIOException() argument 45 super(cause); in ICUUncheckedIOException() 52 * @param cause original exception (normally a {@link java.io.IOException}) 54 public ICUUncheckedIOException(String message, Throwable cause) { in ICUUncheckedIOException() argument 55 super(message, cause); in ICUUncheckedIOException()
|
H A D | ICUCloneNotSupportedException.java | 40 * @param cause original exception (normally a {@link CloneNotSupportedException}) 42 public ICUCloneNotSupportedException(Throwable cause) { in ICUCloneNotSupportedException() argument 43 super(cause); in ICUCloneNotSupportedException() 50 * @param cause original exception (normally a {@link CloneNotSupportedException}) 52 public ICUCloneNotSupportedException(String message, Throwable cause) { in ICUCloneNotSupportedException() argument 53 super(message, cause); in ICUCloneNotSupportedException()
|
H A D | ICUException.java | 38 * @param cause original exception 40 public ICUException(Throwable cause) { in ICUException() argument 41 super(cause); in ICUException() 48 * @param cause original exception 50 public ICUException(String message, Throwable cause) { in ICUException() argument 51 super(message, cause); in ICUException()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | ServiceException.java | 45 public ServiceException(final Throwable cause) { in ServiceException() argument 46 super(cause); in ServiceException() 49 public ServiceException(final String message, final Throwable cause) { in ServiceException() argument 50 super(message, cause); in ServiceException()
|
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/ |
H A D | error.js | 21 constructor({ code, message, cause, }) { 24 this.cause = cause; 36 cause: err,
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
H A D | error.rs | 61 pub(crate) cause: Option<InnerError>, 70 match self.cause { in io_error() 77 match self.cause { in into_io_error() 84 match self.cause { in ssl_error() 95 cause: Some(InnerError::Ssl(e)), in from() 127 match self.cause { in source()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/ |
H A D | TestDataModule.java | 57 public DataModuleFormatError(String msg, Throwable cause){ in DataModuleFormatError() argument 58 super(msg, cause); in DataModuleFormatError() 60 public DataModuleFormatError(Throwable cause) { in DataModuleFormatError() argument 61 super(cause); in DataModuleFormatError()
|
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
H A D | TestDataModule.java | 56 public DataModuleFormatError(String msg, Throwable cause){ in DataModuleFormatError() argument 57 super(msg, cause); in DataModuleFormatError() 59 public DataModuleFormatError(Throwable cause) { in DataModuleFormatError() argument 60 super(cause); in DataModuleFormatError()
|
/third_party/node/lib/internal/test_runner/reporter/ |
H A D | tap.js | 168 if (isErrorObj && (key === 'cause' || key === 'code')) { 182 cause, 204 errStack = cause?.stack ?? errStack; 205 errCode = cause?.code ?? errCode; 206 errName = cause?.name ?? errName; 207 errMsg = cause?.message ?? errMsg; 209 if (isAssertionLike(cause)) { 210 errExpected = cause.expected; 211 errActual = cause.actual; 212 errOperator = cause [all...] |
/third_party/node/lib/timers/ |
H A D | promises.js | 48 reject(new AbortError(undefined, { cause: signal?.reason })); 76 return PromiseReject(new AbortError(undefined, { cause: signal.reason })); 118 return PromiseReject(new AbortError(undefined, { cause: signal.reason })); 145 throw new AbortError(undefined, { cause: signal?.reason }); 166 new AbortError(undefined, { cause: signal.reason }))); 182 throw new AbortError(undefined, { cause: signal?.reason });
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlist/ |
H A D | testlist.go | 29 "../cause" 60 return cause.Wrap(err, "Couldn't read '%s'", file) 124 panic(cause.Wrap(err, "Could not encode testlist to produce hash")) 133 return nil, cause.Wrap(err, "Couldn't get absolute path of '%s'", root) 138 return nil, cause.Wrap(err, "Couldn't get absolute path of '%s'", jsonPath) 143 return nil, cause.Wrap(err, "Couldn't read test list from '%s'", jsonPath) 152 return nil, cause.Wrap(err, "Couldn't parse '%s'", jsonPath) 171 return nil, cause.Wrap(err, "Couldn't get relative path for '%s'", group.File)
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cause/ |
H A D | cause.go | 15 // Package cause provides functions for building wrapped errors. 16 package cause 23 // Wrap returns a new error wrapping cause with the additional message. 24 func Wrap(cause error, msg string, args ...interface{}) error { 26 return fmt.Errorf("%v. Cause: %w", s, cause)
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/git/ |
H A D | git.go | 28 "../cause" 41 panic(cause.Wrap(err, "Couldn't find path to git executable")) 62 return cause.Wrap(err, "`git add %v` in working directory %v failed", file, wd) 98 return cause.Wrap(err, "Couldn't create cookie file") 104 return cause.Wrap(err, "Couldn't parse url '%v'", remote) 117 return cause.Wrap(err, "mkdir '"+path+"' failed") 138 return cause.Wrap(err, "mkdir '"+path+"' failed")
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
H A D | BrotliRuntimeException.java | 18 BrotliRuntimeException(String message, Throwable cause) { in BrotliRuntimeException() argument 19 super(message, cause); in BrotliRuntimeException()
|