MCPcopy Create free account
hub / github.com/pollinations/pollinations / constructor

Method constructor

shared/http/validation-error.ts:25–29  ·  view source on GitHub ↗
(zodError: ZodError, target: ValidationTarget)

Source from the content-addressed store, hash-verified

23 public readonly zodError: ZodError;
24
25 constructor(zodError: ZodError, target: ValidationTarget) {
26 super(validationTargetMessages[target]);
27 this.target = target;
28 this.zodError = zodError;
29 }
30}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected