MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / proseThrows

Function proseThrows

graph-ui/src/twin/strings.ts:521–524  ·  view source on GitHub ↗
(name: string, errors: readonly string[])

Source from the content-addressed store, hash-verified

519}
520
521export function proseThrows(name: string, errors: readonly string[]): string {
522 return `${name} can stop with ${countOf(errors.length, 'kind of error', 'kinds of error')}: `
523 + `${joinNames(errors)}.`;
524}
525
526/** A short English list that never hides its last member. */
527export function joinNames(names: readonly string[]): string {

Callers 1

overviewClausesFunction · 0.90

Calls 2

joinNamesFunction · 0.85
countOfFunction · 0.70

Tested by

no test coverage detected