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

Method constructor

third_party/subscriptions-project/config.js:540–543  ·  view source on GitHub ↗

* Constructor. * * opt_suffix will be appended to error message to identify the type of the * error message. We can't rely on the error object to pass along the type * because some browsers do not have this param in its window.onerror API. * See: * https://blog.sentry.io/2016/01/04

(opt_suffix = '')

Source from the content-addressed store, hash-verified

538 * @param {string=} opt_suffix
539 */
540 constructor(opt_suffix = '') {
541 /** @private @const {string} */
542 this.suffix_ = opt_suffix;
543 }
544
545 /**
546 * Modifies an error before reporting, such as to add metadata.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected