MCPcopy Create free account
hub / github.com/ajv-validator/ajv / constructor

Method constructor

lib/runtime/validation_error.ts:8–12  ·  view source on GitHub ↗
(errors: Partial<ErrorObject>[])

Source from the content-addressed store, hash-verified

6 readonly validation: true
7
8 constructor(errors: Partial<ErrorObject>[]) {
9 super("validation failed")
10 this.errors = errors
11 this.ajv = this.validation = true
12 }
13}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected