[ 
https://issues.apache.org/jira/browse/GEODE-4090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Swapnil Bawaskar closed GEODE-4090.
-----------------------------------

> 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
>            Assignee: Brian Rowe
>            Priority: Major
>             Fix For: 1.4.0
>
>
> 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
(v7.6.3#76005)

Reply via email to