MCPcopy Create free account
hub / github.com/W4G1/multithreading / constructor

Method constructor

src/node/polyfill.ts:19–26  ·  view source on GitHub ↗
(type: string, init?: ErrorEventInit)

Source from the content-addressed store, hash-verified

17 public error: any;
18
19 constructor(type: string, init?: ErrorEventInit) {
20 super(type, init);
21 this.message = init?.message || "";
22 this.filename = init?.filename || "";
23 this.lineno = init?.lineno || 0;
24 this.colno = init?.colno || 0;
25 this.error = init?.error || null;
26 }
27};
28
29/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected