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

Method failSyntax

packages/effect/src/encoding/Csv.ts:248–251  ·  view source on GitHub ↗
(size: number, message: string)

Source from the content-addressed store, hash-verified

246
247 // A record that is already too large reports its size, not the syntax error.
248 failSyntax(size: number, message: string): CsvError {
249 this.checkSize(size)
250 return this.fail("Syntax", message)
251 }
252
253 endRecord(size: number, out: Array<Parsed>): void {
254 this.checkSize(size)

Callers 1

feedMethod · 0.95

Calls 2

checkSizeMethod · 0.95
failMethod · 0.95

Tested by

no test coverage detected