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

Function setReportError

src/utils/log.js:33–35  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

31 * @param {function(this:Window, Error, (?Element)=): ?|undefined} fn
32 */
33export function setReportError(fn) {
34 self.__AMP_REPORT_ERROR = fn;
35}
36
37/**
38 * @enum {number}

Callers 14

experiments.jsFile · 0.90
initFunction · 0.90
initFunction · 0.90
ampcontext-lib.jsFile · 0.90
test-log.jsFile · 0.90
test-error.jsFile · 0.90
runtime.jsFile · 0.90
web-worker.jsFile · 0.90
install-alp.jsFile · 0.90
constructorMethod · 0.90
amp-login-done.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected