From 0e161417715652339580c4c6b1f630676b260997 Mon Sep 17 00:00:00 2001 From: norrislee Date: Fri, 1 May 2015 16:20:32 -0700 Subject: DRILL-2885: Return more precise error codes on handshake failures in C++ client --- contrib/native/client/src/include/drill/common.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contrib/native/client/src/include') diff --git a/contrib/native/client/src/include/drill/common.hpp b/contrib/native/client/src/include/drill/common.hpp index 6662754d2..2fa09545c 100644 --- a/contrib/native/client/src/include/drill/common.hpp +++ b/contrib/native/client/src/include/drill/common.hpp @@ -107,7 +107,9 @@ typedef enum{ CONN_INVALID_INPUT=3, CONN_ZOOKEEPER_ERROR=4, CONN_HANDSHAKE_TIMEOUT=5, - CONN_HOSTNAME_RESOLUTION_ERROR=6 + CONN_HOSTNAME_RESOLUTION_ERROR=6, + CONN_AUTH_FAILED=7, + CONN_BAD_RPC_VER=8 } connectionStatus_t; typedef enum{ -- cgit v1.2.3