MCPcopy
hub / github.com/winjs/winjs / initUnhandledErrors

Function initUnhandledErrors

tests/TestLib/Helper.ts:27–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 }
26
27 export function initUnhandledErrors() {
28 __UnhandledErrors = {};
29 WinJS.Promise.addEventListener("error", errorEventHandler);
30 }
31
32 export function validateUnhandledErrors() {
33 WinJS.Promise.removeEventListener("error", errorEventHandler);

Callers

nothing calls this directly

Calls 1

addEventListenerMethod · 0.65

Tested by

no test coverage detected