MCPcopy Create free account
hub / github.com/Noumena-Network/code / constructor

Method constructor

src/utils/json.ts:106–112  ·  view source on GitHub ↗
(line: number, lineText: string, cause?: unknown)

Source from the content-addressed store, hash-verified

104 readonly lineText: string
105
106 constructor(line: number, lineText: string, cause?: unknown) {
107 super(`JSON parse error at line ${line}`)
108 this.name = 'JSONLParseError'
109 this.line = line
110 this.lineText = lineText
111 this.cause = cause
112 }
113}
114
115function parseJSONLBun<T>(data: string | Buffer): T[] {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected