/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' })
|
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/ |
H A D | error.rs | 22 cause: Option<Box<dyn Error + Send + Sync>>, 38 cause: None, in user_aborted() 51 pub fn other<T: Into<Box<dyn Error + Send + Sync>>>(cause: Option<T>) -> Self { in other() 54 cause: cause.map(Into::into), in other() 73 Self { kind, cause: None } 76 pub(crate) fn new_with_cause<T>(kind: ErrorKind, cause: Option<T>) -> Self 82 cause: cause.map(Into::into), 101 cause in from() [all...] |
/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/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/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/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 });
|
/foundation/communication/bluetooth/frameworks/js/napi/src/pan/ |
H A D | napi_bluetooth_pan_observer.cpp | 30 void NapiBluetoothPanObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) in OnConnectionStateChanged() argument 32 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d", in OnConnectionStateChanged() 33 GET_ENCRYPT_ADDR(device), state, cause); in OnConnectionStateChanged() 34 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/pbap/ |
H A D | napi_bluetooth_pbap_pse_observer.cpp | 28 void NapiPbapPseObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int32_t state, int32_t cause)
in OnConnectionStateChanged() argument 30 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d",
in OnConnectionStateChanged() 31 GET_ENCRYPT_ADDR(device), state, cause);
in OnConnectionStateChanged() 32 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause);
in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/ |
H A D | napi_bluetooth_a2dp_src_observer.cpp | 26 void NapiA2dpSourceObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) in OnConnectionStateChanged() argument 28 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d", in OnConnectionStateChanged() 29 GET_ENCRYPT_ADDR(device), state, cause); in OnConnectionStateChanged() 30 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/map/ |
H A D | napi_bluetooth_map_mse_observer.cpp | 27 void NapiMapMseObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int32_t state, int32_t cause)
in OnConnectionStateChanged() argument 29 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d",
in OnConnectionStateChanged() 30 GET_ENCRYPT_ADDR(device), state, cause);
in OnConnectionStateChanged() 31 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause);
in OnConnectionStateChanged()
|