Mercurial > hg > piper-cpp
comparison capnproto/VampnProto.h @ 74:d45cfa25aaad
Ensure code is at least set, but just to 0 at the mo
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 10 Oct 2016 15:31:44 +0100 |
parents | 6c908ee3ad3b |
children |
comparison
equal
deleted
inserted
replaced
73:7bfc07576830 | 74:d45cfa25aaad |
---|---|
828 type = "finish"; | 828 type = "finish"; |
829 } else { | 829 } else { |
830 type = "invalid"; | 830 type = "invalid"; |
831 } | 831 } |
832 | 832 |
833 //!!! + code | 833 e.setCode(0); |
834 | |
835 e.setMessage(std::string("error in ") + type + " request: " + errorText); | 834 e.setMessage(std::string("error in ") + type + " request: " + errorText); |
836 } | 835 } |
837 | 836 |
838 static void | 837 static void |
839 buildRpcResponse_Exception(RpcResponse::Builder &b, | 838 buildRpcResponse_Exception(RpcResponse::Builder &b, |