Skip to content

Improved error messages and diagnostics #42

@vmvarela

Description

@vmvarela

Description

Improve error messages for common user mistakes so sql-pipe fails gracefully with actionable guidance instead of cryptic SQLite errors.

Acceptance Criteria

  • Invalid SQL syntax shows a clear message with the error position
  • Referencing a non-existent column suggests similar column names (typo detection)
  • Empty stdin (no data piped) produces a helpful message instead of silent failure
  • Malformed CSV (unclosed quotes, inconsistent columns) reports the problematic line number
  • All error messages go to stderr, not stdout
  • Exit codes follow the structured scheme from PR feat: structured exit codes, --help and --version flags #17

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:lowNice to have, do when possiblesize:mMedium — 4 to 8 hoursstatus:readyRefined and ready for sprint selectiontype:featureNew functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions