File: errors.go

package info (click to toggle)
golang-github-containers-buildah 1.19.6%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,020 kB
  • sloc: sh: 1,957; makefile: 199; perl: 173; awk: 12; ansic: 1
file content (16 lines) | stat: -rw-r--r-- 623 bytes parent folder | download | duplicates (4)
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")
)