<commit_before>package main

import (
	gocontext "context"
	"errors"

	"github.com/containerd/containerd/api/services/execution"
	"github.com/urfave/cli"
)

var deleteCommand = cli.Command{
	Name:      "delete",
	Usage:     "delete an existing container",
	ArgsUsage: "CONTAINER",
	Action: func(context *cli.Context) error {
		containers, err := getExecutionService(context)
		if err != nil {
			return err
		}
		id := context.Args().First()
		if id == "" {
			return errors.New(" id must be provided")
		}
		_, err = containers.Delete(gocontext.Background(), &execution.DeleteRequest{
			ID: id,
		})
		return err
	},
}
<commit_msg>Use consistent errors package<commit_after>package main

import (
	gocontext "context"

	"github.com/containerd/containerd/api/services/execution"
	"github.com/pkg/errors"
	"github.com/urfave/cli"
)

var deleteCommand = cli.Command{
	Name:      "delete",
	Usage:     "delete an existing container",
	ArgsUsage: "CONTAINER",
	Action: func(context *cli.Context) error {
		containers, err := getExecutionService(context)
		if err != nil {
			return err
		}
		id := context.Args().First()
		if id == "" {
			return errors.New(" id must be provided")
		}
		_, err = containers.Delete(gocontext.Background(), &execution.DeleteRequest{
			ID: id,
		})
		return err
	},
}

{'fraction_non_alphanumeric': 0.1395528141865844, 'fraction_numerical': 0.0, 'mean_word_length': 3.7896678966789668, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6390802', 'n_tokens_mistral': 476, 'n_tokens_neox': 437, 'n_words': 101}