Skip to content

CsvError

1 min read

Import: import system.csv;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

CsvError

CSV syntax, encoding, size-limit, or underlying I/O failure with byte-oriented provenance.

public class CsvError: Error

record

One-based logical record number associated with the error.

public record: long

offset

Zero-based absolute byte offset reached before the failure.

public offset: long

constructor

Creates a CSV diagnostic; offsets count bytes rather than UTF-16 code units.

public constructor(record: long, offset: long, message: string)

code

Stable CSV failure code.

public fun code(): string

message

Human-readable syntax, limit, adapter, or I/O failure.

public fun message(): string