Skip to content

Fix exception handling#305

Merged
StephenNneji merged 2 commits intoRascalSoftware:masterfrom
StephenNneji:fix_exception_handling
Jan 10, 2025
Merged

Fix exception handling#305
StephenNneji merged 2 commits intoRascalSoftware:masterfrom
StephenNneji:fix_exception_handling

Conversation

@StephenNneji
Copy link
Collaborator

Fixes #297

I replaced all instances of error(...) in the complied code, I did not replace error(...) in 3rdParty or Dream diagnostics.
I also tested on python-RAT, passing in an invalid TF for example should now raise a ValueError instead of failing silently

@StephenNneji StephenNneji force-pushed the fix_exception_handling branch from 2164e35 to 93c38aa Compare January 9, 2025 16:10
@StephenNneji StephenNneji merged commit 59dfb7b into RascalSoftware:master Jan 10, 2025
5 checks passed
@StephenNneji StephenNneji deleted the fix_exception_handling branch February 21, 2025 14:58
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.

Error handling for generated code

2 participants