class GrpcServerResponse extends RpcServerResponse implements GrpcResponse {

  @Override @Nullable public String errorCode() {
    if (status.isOk()) return null;
    return status.getCode().name();
  }

    GrpcServerResponse(GrpcServerRequest request, Metadata headers, Status status,
      Metadata trailers);

}