MCPcopy Create free account
hub / github.com/Effect-TS/effect / missingKeyIssue

Function missingKeyIssue

packages/effect/src/encoding/SchemaBinary.ts:4515–4517  ·  view source on GitHub ↗
(field: Field)

Source from the content-addressed store, hash-verified

4513}
4514
4515function missingKeyIssue(field: Field): SchemaIssue.Issue {
4516 return new SchemaIssue.Pointer([field.name], new SchemaIssue.MissingKey(field.annotations))
4517}
4518
4519function throwMissingKeys(layout: StructLayout, issues: Array<SchemaIssue.Issue>): never {
4520 throw issueError(

Callers 2

checkRequiredFieldsFunction · 0.85
decodeStructPositionalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected