Hi,
I am using C++ thrift server and PHP client. I am facing a problem related
to exception.
ThriftException have error code as 0 in PHP client. Is there a way to set
error code from server side ?

Currently I am doing like this:
Adding one more attribute error_code in exception and then in PHP catching
exception and throwing that exception again.

exception FileSystemException {
  1:  required   i64 error_code_
}

Is there any better way of doing this ?

regards
Vivek Goel

Reply via email to