web-csv-toolbox - v0.14.0
    Preparing search index...

    Interface SourceOption

    Source identifier option for error reporting.

    interface SourceOption {
        source?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    source?: string

    Source identifier for error reporting (e.g., filename, description).

    This option allows you to specify a human-readable identifier for the CSV source that will be included in error messages. This is particularly useful when parsing multiple files or streams to help identify which source caused an error.

    Security Note: Do not include sensitive information (API keys, tokens, full URLs) in this field as it may be exposed in error messages and logs.

    parseString(csv, { source: "users.csv" });
    // Error: Field count exceeded at row 5 in "users.csv"
    undefined