Of course it is possible that some GridRPC calls can fail, so we need to provide the ability to check the error code of previously submitted requests. The following error reporting functions provide error codes and human-readable error descriptions.
grpc_perror prints the error string associated with the last GridRPC call.
grpc_error_string returns the error description string, given a numeric error code.
grpc_get_error returns the error code associated with a given non-blocking request.
grpc_get_last_error returns the error code for the last invoked GridRPC call.