proto/rpc.proto in protobuffy-3.3.0 vs proto/rpc.proto in protobuffy-3.4.0
- old
+ new
@@ -51,9 +51,11 @@
BAD_REQUEST_PROTO = 1; // Server received bad request proto
SERVICE_NOT_FOUND = 2; // Service not found on server
METHOD_NOT_FOUND = 3; // Method not found on server
RPC_ERROR = 4; // Rpc threw exception on server
RPC_FAILED = 5; // Rpc failed on server
+ UNAUTHORIZED_REQUEST = 10; // Server received unauthorized request
+ FORBIDDEN_REQUEST = 11; // Server understood the request, but is refusing to fulfill it
// Client-side errors (these are returned by the client-side code)
INVALID_REQUEST_PROTO = 6; // Rpc was called with invalid request proto
BAD_RESPONSE_PROTO = 7; // Server returned a bad response proto
UNKNOWN_HOST = 8; // Could not find supplied host