Github user arshadmohammad commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/119#discussion_r203928289 --- Diff: src/java/main/org/apache/zookeeper/KeeperException.java --- @@ -387,6 +389,8 @@ public void setCode(int code) { EPHEMERALONLOCALSESSION (EphemeralOnLocalSession), /** Attempts to remove a non-existing watcher */ NOWATCHER (-121), + /** Not received packet timely */ + TIMEOUT (-122), --- End diff -- I think adding only error code will not be useful. Do you mean, add response timeout functionality in C code?
---