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

Method fail

packages/effect/src/encoding/Yaml.ts:1130–1130  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

1128 line: Line
1129 ): void {
1130 const fail = (message: string) => this.fail(line, message)
1131 const key = this.parseBlockKey(text.slice(0, separator), fail)
1132 const rawValue = trimWhiteStart(text.slice(separator + 1))
1133 // Bypass scalar parsing for empty values to reduce per-level stack use.

Callers 11

parseStreamMethod · 0.95
parseDirectivesMethod · 0.95
parseDocumentContentMethod · 0.95
parseNodeMethod · 0.95
parseMappingMethod · 0.95
parseSequenceMethod · 0.95
parseSequenceEntryMethod · 0.95
parsePlainValueMethod · 0.95
parseQuotedValueMethod · 0.95
parseBlockScalarMethod · 0.95
rejectTabIndentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected