Skip to content

Improve error messages for FatalLexingError #12

@Drvi

Description

@Drvi

These can happen when the buffer is too small to fit the largest row in the input, or when we misconfigured the lexer, or if the file is not parseable. It's hard to know which of these is the problem, but we should try and do a bit of analysis on the current chunk (like looking for how strings are escaped and comparing it with our escape character, look if there are any newlines in the chunk...) to give our best guess (and evidence for it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions