MCPcopy Create free account
hub / github.com/codemix/graph / constructor

Method constructor

packages/graph/src/Exceptions.ts:136–144  ·  view source on GitHub ↗
(key: string, label: string, value: unknown, issues: readonly string[])

Source from the content-addressed store, hash-verified

134 public readonly issues: readonly string[];
135
136 public constructor(key: string, label: string, value: unknown, issues: readonly string[]) {
137 const issueText = issues.join("; ");
138 super(`Property '${key}' on label '${label}' failed validation: ${issueText}`);
139 this.name = "PropertyTypeError";
140 this.key = key;
141 this.label = label;
142 this.value = value;
143 this.issues = issues;
144 }
145}
146
147/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected