MCPcopy Create free account
hub / github.com/tiny-pilot/tinypilot / constructor

Method constructor

app/static/js/controllers.js:15–18  ·  view source on GitHub ↗

* @param {string} details - The original error message. * @param {string} [code] - The error code, or `undefined` for non-application * or unknown errors.

(details, code)

Source from the content-addressed store, hash-verified

13 * or unknown errors.
14 */
15 constructor(details, code) {
16 super(details);
17 this.code = code;
18 }
19}
20
21/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected