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

Add mode without exceptions #14

Open
feliwir opened this issue Jun 14, 2023 · 1 comment
Open

Add mode without exceptions #14

feliwir opened this issue Jun 14, 2023 · 1 comment

Comments

@feliwir
Copy link

feliwir commented Jun 14, 2023

Hello,
thanks for that excellent library!
Would it be possible that functions like runFromSource and runFromFile return an error code instead of throwing exceptions?

@matusnovak
Copy link
Owner

Hi @feliwir

Do you mean completely disabling exceptions via -fno-exceptions and therefore you need runFromSource & runFromFile to return an error code?

Or is compiling with exceptions OK and those functions would simply return an error code?

I am asking because there are a lot of places that throw an exception. If the code needs to be completely exception free, it would require a lot of refactoring.

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

2 participants