code: func statusFromErrs(errs []error) int {
  	for _, err := range errs {
  		if grpc.Code(err) == codes.Internal {
  			return http.StatusInternalServerError
  		}
  	}
  	return http.StatusOK
  }
docs: // statusFromErrs returns 500 if any of gRPC errors is codes.Internal.