Skip to content

Improve the parser error type #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Improve the parser error type #76

wants to merge 7 commits into from

Conversation

CosmicHorrorDev
Copy link
Owner

  • feat(parser): Flesh out parser error variants
  • refactor(parser): Split error into parser/renderer errors
  • wip: Pretty display error info

@CosmicHorrorDev CosmicHorrorDev force-pushed the decent-error branch 2 times, most recently from 8299a16 to ee9a90b Compare November 20, 2024 06:35
@CosmicHorrorDev
Copy link
Owner Author

CosmicHorrorDev commented Feb 12, 2025

Ah at this point I think it'd be better to split this PR into a more minimal error overhaul which involves:

  • Splitting the error into a separate parse/render error
  • Returning a basic kind indicating the type of error

All the span and fancy delay stuff is finicky and can be stabilized later instead of blocking the release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant