Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 2107) sorted by relevance

12345678910>>...85

/third_party/node/deps/npm/node_modules/errno/
Dcustom.js3 function init (type, message, cause) { argument
11 , cause : typeof message != 'string' ? message : cause property
17 function CustomError (message, cause) { argument
21 init.call(this, 'CustomError', message, cause)
27 var err = function (message, cause) { argument
28 init.call(this, type, message, cause)
31 this.code = this.cause.code
32 this.path = this.cause.path
33 this.errno = this.cause.errno
35 (errno.errno[this.cause.errno]
[all …]
Dtest.js29 t.notOk(cust.cause, 'no cause')
65 function MyError3 (message, cause) { argument
66 CustomError.call(this, message, cause)
86 t.notOk(cust.cause, 'no cause')
/third_party/node/deps/npm/node_modules/verror/lib/
Dverror.js134 var args, obj, parsed, cause, ctor, message, k;
179 cause = parsed.options.cause;
180 if (cause) {
181 mod_assertplus.ok(mod_isError(cause), 'cause is not an Error');
182 this.jse_cause = cause;
185 message += ': ' + cause.message;
231 VError.prototype.cause = function ve_cause() method in VError
233 var cause = VError.cause(this);
234 return (cause === null ? undefined : cause);
246 VError.cause = function (err) function in VError
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/export_to_sheets/
Dmain.go67 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.Wrap(err, "Couldn't get sheet '%v' column headers", sheetName)
151 return cause.Wrap(err, "Couldn't count lines in file '%s'", path)
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DIllegalIcuArgumentException.java22 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/
DIllegalIcuArgumentException.java24 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/
Dmain.go220 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.Wrap(err, "Failed to test changelist '%s'", change.latest))
398 return cause.Wrap(err, "Failed to post comments on change '%s'", change.id)
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DServiceException.java45 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/ejdb/src/bindings/ejdb2_jni/src/main/java/com/softmotions/ejdb2/
DJSONException.java14 public JSONException(String message, Throwable cause) { in JSONException() argument
15 super(message, cause); in JSONException()
18 public JSONException(Throwable cause) { in JSONException() argument
19 super(cause); in JSONException()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DICUCloneNotSupportedException.java45 public ICUCloneNotSupportedException(Throwable cause) { in ICUCloneNotSupportedException() argument
46 super(cause); in ICUCloneNotSupportedException()
56 public ICUCloneNotSupportedException(String message, Throwable cause) { in ICUCloneNotSupportedException() argument
57 super(message, cause); in ICUCloneNotSupportedException()
DICUUncheckedIOException.java49 public ICUUncheckedIOException(Throwable cause) { in ICUUncheckedIOException() argument
50 super(cause); in ICUUncheckedIOException()
60 public ICUUncheckedIOException(String message, Throwable cause) { in ICUUncheckedIOException() argument
61 super(message, cause); in ICUUncheckedIOException()
DICUInputTooLongException.java39 public ICUInputTooLongException(Throwable cause) { in ICUInputTooLongException() argument
40 super(cause); in ICUInputTooLongException()
50 public ICUInputTooLongException(String message, Throwable cause) { in ICUInputTooLongException() argument
51 super(message, cause); in ICUInputTooLongException()
DICUException.java43 public ICUException(Throwable cause) { in ICUException() argument
44 super(cause); in ICUException()
54 public ICUException(String message, Throwable cause) { in ICUException() argument
55 super(message, cause); in ICUException()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DICUCloneNotSupportedException.java42 public ICUCloneNotSupportedException(Throwable cause) { in ICUCloneNotSupportedException() argument
43 super(cause); in ICUCloneNotSupportedException()
52 public ICUCloneNotSupportedException(String message, Throwable cause) { in ICUCloneNotSupportedException() argument
53 super(message, cause); in ICUCloneNotSupportedException()
DICUException.java40 public ICUException(Throwable cause) { in ICUException() argument
41 super(cause); in ICUException()
50 public ICUException(String message, Throwable cause) { in ICUException() argument
51 super(message, cause); in ICUException()
DICUUncheckedIOException.java44 public ICUUncheckedIOException(Throwable cause) { in ICUUncheckedIOException() argument
45 super(cause); in ICUUncheckedIOException()
54 public ICUUncheckedIOException(String message, Throwable cause) { in ICUUncheckedIOException() argument
55 super(message, cause); in ICUUncheckedIOException()
/third_party/boost/boost/chrono/detail/inlined/win/
Dprocess_cpu_clocks.hpp117 boost::winapi::DWORD_ cause = boost::winapi::GetLastError(); in now() local
122 cause, in now()
128 ec.assign( cause, ::boost::system::system_category() ); in now()
182 boost::winapi::DWORD_ cause = boost::winapi::GetLastError(); in now() local
187 cause, in now()
193 ec.assign( cause, ::boost::system::system_category() ); in now()
259 boost::winapi::DWORD_ cause = boost::winapi::GetLastError(); in now() local
264 cause, in now()
270 ec.assign( cause, ::boost::system::system_category() ); in now()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJException.java45 public TJException(String message, Throwable cause) { in TJException() argument
46 super(message, cause); in TJException()
62 public TJException(Throwable cause) { in TJException() argument
63 super(cause); in TJException()
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJException.java45 public TJException(String message, Throwable cause) { in TJException() argument
46 super(message, cause); in TJException()
62 public TJException(Throwable cause) { in TJException() argument
63 super(cause); in TJException()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DTestDataModule.java57 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/
DTestDataModule.java56 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/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp.h410 struct sctp_error_cause cause; /* code=SCTP_CAUSE_INVALID_STREAM */ member
416 struct sctp_error_cause cause; /* code=SCTP_CAUSE_MISSING_PARAM */ member
422 struct sctp_error_cause cause; /* code=SCTP_CAUSE_STALE_COOKIE */ member
427 struct sctp_error_cause cause; /* code=SCTP_CAUSE_OUT_OF_RESOURCES */ member
431 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNRESOLVABLE_ADDR */ member
435 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNRECOG_CHUNK */ member
440 struct sctp_error_cause cause; /* code=SCTP_CAUSE_NO_USER_DATA */ member
445 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNSUPPORTED_HMACID */ member
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlist/
Dtestlist.go60 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/
Dcause.go16 package cause package
24 func Wrap(cause error, msg string, args ...interface{}) error {
26 return fmt.Errorf("%v. Cause: %w", s, cause)
/third_party/node/deps/npm/node_modules/verror/
DREADME.md49 You can also pass a `cause` argument, which is any other Error object:
74 You can get the next-level Error using `err.cause()`:
77 console.error(err2.cause().message);
169 cause:
172 cause:
196 errors by cause, by RPC method name, by user, or whatever. Or the
224 * (including "cause" and "info") this way.
229 * This is a useful shorthand when the only option you need is "cause".
231 new VError(cause, sprintf_args...)
248 `cause` | any Error object | Indicates that the new error was caused by `cause`. See `cau…
[all …]

12345678910>>...85