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

List hexadecimal error codes corresponding to each error constant #132

Open
Calinou opened this issue Mar 5, 2022 · 1 comment
Open

Comments

@Calinou
Copy link

Calinou commented Mar 5, 2022

In mbedTLS for instance, each error has its own hexadecimal integer constant: https://github.com/ARMmbed/mbedtls/blob/052deb941f051a07c1d9726e05dac2a8d7557959/include/mbedtls/x509.h#L56-L96

It would be useful to list hexadecimal numbers beside each error constant here, so that error constants produced by applications can be searched with some Ctrl + F-fu: godotengine/godot#53297
The codes should be listed outside the accordions, so that they can be searched even if sections are not expanded.

The decimal numbers could also be listed for convenience (although they're arguably less useful compared to hexadecimal numbers, which are nicely categorized in many libraries like mbedTLS).

@mukrop
Copy link
Member

mukrop commented Mar 8, 2022

A nice suggestion, thanks!
I would go only for the hexa and understand the placement needs to be outside the accordions. Looking into the linked issue, I'll check the possibility of having the numbers as alternative IDs usable as URL anchors so that you can link to the particular error directly.

As you probably noticed, this project was a bit less maintained recently, but I expect additions with one of my bachelor's students work (it's all industry supported academic work).

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