MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / constructor

Method constructor

apps/api/src/boot/invariants.ts:23–27  ·  view source on GitHub ↗
(violations: readonly string[])

Source from the content-addressed store, hash-verified

21export class BootInvariantError extends Error {
22 public readonly violations: readonly string[];
23
24 public constructor(violations: readonly string[]) {
25 super(`Boot invariants failed:\n - ${violations.join("\n - ")}`);
26 this.name = "BootInvariantError";
27 this.violations = violations;
28 }
29}
30

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected