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

$RAISE Function for marking code and to produce compile-time errors #2

Open
CakeOfPain opened this issue Dec 9, 2024 · 0 comments
Open

Comments

@CakeOfPain
Copy link
Owner

As a developer using Gismo macros, I want a function named $RAISE that allows me to do the following:

$RAISE(2 + 3, "This section of code is causing an error!")

This should output:

Error: This section of code is causing an error!
someFile.gsm:
1: $RAISE(2 + 3, "This section of code is causing an error!")
          ^ ^ ^

This functionality will enable me to generate clear and comprehensive error messages that are easy for users to understand.

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