{"action":"opened","issue":{"url":"https://api.github.com/repos/couchbaselabs/pydcp/issues/43","repository_url":"https://api.github.com/repos/couchbaselabs/pydcp","labels_url":"https://api.github.com/repos/couchbaselabs/pydcp/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/couchbaselabs/pydcp/issues/43/comments","events_url":"https://api.github.com/repos/couchbaselabs/pydcp/issues/43/events","html_url":"https://github.com/couchbaselabs/pydcp/issues/43","id":354785549,"node_id":"MDU6SXNzdWUzNTQ3ODU1NDk=","number":43,"title":"Custom exception raising from mc_bin_client","user":{"login":"CSubmerged","id":32954345,"node_id":"MDQ6VXNlcjMyOTU0MzQ1","avatar_url":"https://avatars1.githubusercontent.com/u/32954345?v=4","gravatar_id":"","url":"https://api.github.com/users/CSubmerged","html_url":"https://github.com/CSubmerged","followers_url":"https://api.github.com/users/CSubmerged/followers","following_url":"https://api.github.com/users/CSubmerged/following{/other_user}","gists_url":"https://api.github.com/users/CSubmerged/gists{/gist_id}","starred_url":"https://api.github.com/users/CSubmerged/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSubmerged/subscriptions","organizations_url":"https://api.github.com/users/CSubmerged/orgs","repos_url":"https://api.github.com/users/CSubmerged/repos","events_url":"https://api.github.com/users/CSubmerged/events{/privacy}","received_events_url":"https://api.github.com/users/CSubmerged/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-28T15:31:26Z","updated_at":"2018-08-28T15:31:26Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Inside `_recvMsg(self):` in mc_bin_client.py, there are a number of instances of `EOFError(...` which could be more specifically raised using custom exceptions. This would help clarify dcp_bin_client.py (line 232) to not have to scan through the text in the exception string to determine the type of exception. This has been suggested after being spotted [here](https://github.com/couchbaselabs/pydcp/pull/42#discussion_r213313908)."}}
{"actor":{"display_login":"CSubmerged"}}