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

Convert IllegalArgumentException to BadArgException in Java modules #90

Open
jjg-123 opened this issue Dec 27, 2024 · 0 comments
Open

Comments

@jjg-123
Copy link
Collaborator

jjg-123 commented Dec 27, 2024

When checking arguments, QDLFunction implementations should throw the BadArgException and have the system fill in the line and position information from the parser. This way users get vastly better information about where errors happened in scripts, rather than just knowing there was a bad argument someplace.

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

No branches or pull requests

1 participant