-
Notifications
You must be signed in to change notification settings - Fork 31
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
Change ErrorNum to Enum #12
Comments
Are you referring to the property inside the ApiErrorResponse class? While having an enum for the ArangoDB error codes is nice, this also means one more thing to maintain and keep in sync between versions of ArangoDB. Are we willing to do that? 🤔 |
I looked at the Java driver and they seem fine with using an |
The benefit for me is that using an enum is more descriptive and there would be less need to lookup what the error means |
OK let's discuss this on Monday. I don't expect the error numbers to ever change, partly because there's no reason to change them. The only issue I see is new error numbers might be introduced in new versions of ArangoDB. |
So we've decided to close this issue for now and continue using |
No description provided.
The text was updated successfully, but these errors were encountered: