MCPcopy
hub / github.com/colinhacks/zod / error

Method error

packages/zod/src/v3/types.ts:4647–4649  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4645 ? result.value
4646 : this._def.catchValue({
4647 get error() {
4648 return new ZodError(newCtx.common.issues);
4649 },
4650 input: newCtx.data,
4651 }),
4652 };

Callers 13

buildZshyFunction · 0.80
buildTscFunction · 0.80
testCjsFunction · 0.80
testMjsFunction · 0.80
testJsFunction · 0.80
runAllTestsFunction · 0.80
runFunction · 0.80
handleCopyFunction · 0.80
fetchStarsFunction · 0.80
validateOpenAPI30SchemaFunction · 0.80
finalizeIssueFunction · 0.80
check-semver.tsFile · 0.80

Calls

no outgoing calls

Tested by 1

validateOpenAPI30SchemaFunction · 0.64