GetErrorMessage missing some codes

In the C# library, the GetErrorMessage function does not handle error codes below 40. I would also have expected that function to be on the LexStatusCodes class, not the LexActivatorException.

Hi,

Thank you for reaching out.

The GetErrorMessage function does not appear to be part of our SDK, as it does not pertain to any functionality we provide. Could you please clarify which specific function you are referring to, or share the relevant context or code snippet so that we can better assist?

This is your code, isn’t it: https://github.com/cryptlex/lexactivator-dotnet/blob/f1b5949245ef652565b0b6b43785702c2f99bd83/src/Cryptlex.LexActivator/LexActivatorException.cs#L16

This is an internal function. Additionally, there are no error codes below 40, as values below this range represent status codes rather than error codes.

Then please do not make internal functions public!