code: func (s *Server) GetTask(ctx context.Context, request *api.GetTaskRequest) (*api.GetTaskResponse, error) {
  	if request.TaskID == "" {
  		return nil, status.Errorf(codes.InvalidArgument, errInvalidArgument.Error())
  	}
  
  	var task *api.Task
  	s.store.View(func(tx store.ReadTx) {
  		task = store.GetTask(tx, request.TaskID)
  	})
  	if task == nil {
  		return nil, status.Errorf(codes.NotFound, "task %s not found", request.TaskID)
  	}
  	return &api.GetTaskResponse{
  		Task: task,
  	}, nil
  }
docs: // GetTask returns a Task given a TaskID.
  // - Returns `InvalidArgument` if TaskID is not provided.
  // - Returns `NotFound` if the Task is not found.