I found in the demo project that, regardless of the error code returned by the server (I can clearly see that the value of grpc-status is consistent with the return value of the server in the browser's Response Headers), and the RpcError captured in the calling logic of typesscript But always {code: 2, message: 'Incomplete response'}.
Please tell me how to solve this problem, thank you very much.
I found in the demo project that, regardless of the error code returned by the server (I can clearly see that the value of grpc-status is consistent with the return value of the server in the browser's Response Headers), and the RpcError captured in the calling logic of typesscript But always {code: 2, message: 'Incomplete response'}.
Please tell me how to solve this problem, thank you very much.