Skip to content

Interface: JsonlParseError

Makaio Framework


Makaio Framework / ai-adapters-core/node / JsonlParseError

Defined in: ../../../adapters/core/src/log-importer/jsonl-parser.ts:12

Error encountered while parsing a JSONL line.

Errors include the line number (1-indexed), the error message, and the raw content of the line for debugging purposes. Content is truncated at 200 characters to prevent large payloads from bloating error logs.

JsonlParseResult - Contains array of parse errors

content: string

Defined in: ../../../adapters/core/src/log-importer/jsonl-parser.ts:20

Raw content of the malformed line (truncated at 200 chars)


error: string

Defined in: ../../../adapters/core/src/log-importer/jsonl-parser.ts:17

Error message describing why parsing failed


line: number

Defined in: ../../../adapters/core/src/log-importer/jsonl-parser.ts:14

1-indexed line number relative to the file start (not the offset)