Brian Baynes created GEODE-4090: ----------------------------------- Summary: Use an enum for Error.errorCode, rather than an int32 Key: GEODE-4090 URL: https://issues.apache.org/jira/browse/GEODE-4090 Project: Geode Issue Type: New Feature Components: client/server Reporter: Brian Baynes
Currently, the error codes in the new protocol are returned as integers and are documented on the wiki in https://cwiki.apache.org/confluence/display/GEODE/Error+Codes and in the code in ProtocolErrorCodes. Protobuf has support for enums, we should use an enum instead of an int32 for the error code so that the list of possible errors is part of the protobuf specification. This will make it clearer to the user what each error code means and will prevent them from having to put the constants in their own code. -- This message was sent by Atlassian JIRA (v6.4.14#64029)