code: func contextDone(ctx context.Context, env string) error {
  	if err := ctx.Err(); err != nil {
  		return contextErr(err, env)
  	}
  	return nil
  }
docs: // contextDone returns an error if the context was canceled or timed out.