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

clroni should have access to the error code enum on onidefs.h #18

Open
jonnew opened this issue Jan 23, 2024 · 0 comments
Open

clroni should have access to the error code enum on onidefs.h #18

jonnew opened this issue Jan 23, 2024 · 0 comments

Comments

@jonnew
Copy link
Collaborator

jonnew commented Jan 23, 2024

Currently, this enum is not reproduced in clroni

with the idea being that the ONIException.cs class providing a higher-level representation of these errors, obviating low-level names of error codes. However, if we want to e.g. efficiently propagate or eat exceptions depending on their type, we end up manually reproducing the the error numbers in code that uses clroni, which is not good.

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