We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I wonder if it would be possible to get the number of the line that is currently being parsed. This way one can throw custom syntax errors like:
throw new Error(`Invalid element 'slot' inside div at line ${lineNumber}`);
The text was updated successfully, but these errors were encountered:
That's very possible, but requires a bit of additional code on your side; see #919
Sorry, something went wrong.
No branches or pull requests
I wonder if it would be possible to get the number of the line that is currently being parsed.
This way one can throw custom syntax errors like:
The text was updated successfully, but these errors were encountered: