File: errors.go

package info (click to toggle)
golang-github-containers-common 0.64.1%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 5,932 kB
  • sloc: makefile: 132; sh: 111
file content (17 lines) | stat: -rw-r--r-- 582 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package supplemented

import (
	"errors"

	"github.com/containers/common/pkg/manifests"
)

var (
	// ErrDigestNotFound is returned when we look for an image instance
	// with a particular digest in a list or index, and fail to find it.
	ErrDigestNotFound = manifests.ErrDigestNotFound
	// ErrBlobNotFound is returned when try to figure out which supplemental
	// image we should ask for a blob with the specified characteristics,
	// based on the information in each of the supplemental images' manifests.
	ErrBlobNotFound = errors.New("location of blob could not be determined")
)