Skip to content
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

improve error message for use inside ns form #172

Open
oakmac opened this issue Dec 28, 2024 · 0 comments
Open

improve error message for use inside ns form #172

oakmac opened this issue Dec 28, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@oakmac
Copy link
Owner

oakmac commented Dec 28, 2024

Follow-up to Issue #152 and PR-171:

We should show more details to the user when :use is detected inside of the ns form. For example, we could include the line + column number where we encountered :use and print a few lines above and below the location so that the user can see more context of where the error occurred.

inspiration / ideas

@oakmac oakmac added enhancement New feature or request help wanted Extra attention is needed labels Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant