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 (16 lines) | stat: -rw-r--r-- 623 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package manifests

import (
	"errors"
)

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 = errors.New("no image instance matching the specified digest was found in the list or index")
	// ErrManifestTypeNotSupported is returned when we attempt to parse a
	// manifest with a known MIME type as a list or index, or when we attempt
	// to serialize a list or index to a manifest with a MIME type that we
	// don't know how to encode.
	ErrManifestTypeNotSupported = errors.New("manifest type not supported")
)