{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/14"}],"enrichment":{"capability":"Wraps parse and validation errors from JSON, TOML, and YAML files to include filename, line number, and column in the exception, making it easier to report precise error locations to users.","skillfed_tags":["error-handling","config-parsing","developer-tools"],"use_cases":["CLI tools that load JSON, TOML, or YAML config files and need to report parse errors with precise line/column to users.","Configuration validation frameworks that combine multiple decoders and want unified error reporting.","Build systems or deployment tools that must pinpoint config syntax errors for quick user fixes.","API servers that accept config uploads and need to reject invalid files with exact error locations.","Development utilities that parse structured data and want better debugging output than bare exception messages."],"what_it_does":"parse-errors is a thin wrapper around config file parsing that intercepts exceptions and enriches them with precise source locations. When you parse JSON, TOML, or YAML inside a ParseContext, any exception that occurs gets analyzed for line and column information and re-raised as a ParseError with the filename, line, and column attached. If location information cannot be extracted, the original exception passes through unchanged.\n\nThe package depends on tree-sitter and tree-sitter-toml for syntax-aware parsing, pyyaml for YAML support, and json-source-map for JSON location tracking. It's designed for developers building tools that parse user-supplied config files and need to give users actionable error messages pointing to the exact spot in the file that caused the problem.","worth_installing":"Yes, if you parse config files (JSON, TOML, YAML) and want to give users precise error locations. Low install friction, permissive license, no known vulnerabilities, and active maintenance. The package is young (first release 2026-03-18) but solves a real UX problem. Install it if error reporting quality matters in your use case."},"id":"parse-errors","links":{"html":"https://skillfed.io/packages/parse-errors","md":"https://skillfed.io/packages/parse-errors.md","pypi":"https://pypi.org/project/parse-errors/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-19","license_spdx":null,"license_treatment":"permissive","name":"parse-errors","python_support":"supports_current","summary":"re-raise parse errors with filename and line number"},"popularity":{"monthly_downloads":191079,"position":9893,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.0"}
