MCPcopy
hub / github.com/ampproject/amphtml / createExpectedError

Method createExpectedError

src/utils/log.js:303–305  ·  view source on GitHub ↗

* Creates an error object with its expected property set to true. * @param {...*} var_args * @return {!Error}

(var_args)

Source from the content-addressed store, hash-verified

301 * @return {!Error}
302 */
303 createExpectedError(var_args) {
304 return this.setErrorSuffix_(createExpectedError.apply(null, arguments));
305 }
306
307 /**
308 * @param {!Error} error

Callers 9

xhrRequestFunction · 0.45
fetchPolyfillFunction · 0.45
createXhrRequestFunction · 0.45
initMessagingChannel_Method · 0.45
constructorMethod · 0.45
saveBlobMethod · 0.45
attemptCollapseMethod · 0.45
fetchAmpCors_Method · 0.45
startLayoutMethod · 0.45

Calls 2

setErrorSuffix_Method · 0.95
applyMethod · 0.80

Tested by

no test coverage detected