MCPcopy
hub / github.com/ajv-validator/ajv / constructor

Method constructor

lib/compile/ref_error.ts:8–12  ·  view source on GitHub ↗
(resolver: UriResolver, baseId: string, ref: string, msg?: string)

Source from the content-addressed store, hash-verified

6 readonly missingSchema: string
7
8 constructor(resolver: UriResolver, baseId: string, ref: string, msg?: string) {
9 super(msg || `can't resolve reference ${ref} from id ${baseId}`)
10 this.missingRef = resolveUrl(resolver, baseId, ref)
11 this.missingSchema = normalizeId(getFullPath(resolver, this.missingRef))
12 }
13}

Callers

nothing calls this directly

Calls 3

resolveUrlFunction · 0.90
normalizeIdFunction · 0.90
getFullPathFunction · 0.90

Tested by

no test coverage detected