MCPcopy Create free account
hub / github.com/ampproject/amphtml / createError

Method createError

src/utils/log.js:294–296  ·  view source on GitHub ↗

* Creates an error object. * @param {...*} var_args * @return {!Error}

(var_args)

Source from the content-addressed store, hash-verified

292 * @return {!Error}
293 */
294 createError(var_args) {
295 return this.setErrorSuffix_(createError.apply(null, arguments));
296 }
297
298 /**
299 * Creates an error object with its expected property set to true.

Callers 15

output.jsFile · 0.45
input.jsFile · 0.45
output.jsFile · 0.45
input.jsFile · 0.45
output.jsFile · 0.45
input.jsFile · 0.45
batchFetchJsonForFunction · 0.45
requestForBatchFetchFunction · 0.45
assertSuccessFunction · 0.45
failedToLoadFunction · 0.45
handleAmpTarget_Method · 0.45

Calls 2

setErrorSuffix_Method · 0.95
applyMethod · 0.80

Tested by

no test coverage detected