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

Function invalid

packages/effect/src/encoding/SchemaBinary.ts:1260–1262  ·  view source on GitHub ↗
(expected: string, input?: unknown, options?: SchemaAST.ParseOptions)

Source from the content-addressed store, hash-verified

1258}
1259
1260function invalid(expected: string, input?: unknown, options?: SchemaAST.ParseOptions): never {
1261 throw issueError(new SchemaIssue.InvalidValue({ expected }, input, options))
1262}
1263
1264// Materialize the ambient path only when raising an issue.
1265const issuePath: Array<PropertyKey> = []

Callers 15

decodeUtf8Function · 0.70
assembleMethod · 0.70
byteMethod · 0.70
takeMethod · 0.70
takeCopyMethod · 0.70
enterMethod · 0.70
readUtf8Method · 0.70
uvarintMethod · 0.70
fieldTagMethod · 0.70
numberVarintMethod · 0.70
f64Method · 0.70
i64Method · 0.70

Calls 1

issueErrorFunction · 0.85

Tested by

no test coverage detected