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

Use enum names in SGX error debug output #13

Open
nick-mobilecoin opened this issue Jun 6, 2022 · 0 comments
Open

Use enum names in SGX error debug output #13

nick-mobilecoin opened this issue Jun 6, 2022 · 0 comments

Comments

@nick-mobilecoin
Copy link
Collaborator

Currently the error output from the SGX FFI comes back as integers or hex.

_qutoe3_error_t(e001)

This forces developers to map these values to the proper enum like SGX_QL_UNEXPECTED. It would be good to have the fmt::Debug for the error types output the enum name

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