summaryrefslogtreecommitdiff
path: root/reference/errors.go
blob: 2d294c672e5dddbd9da52eadbc1a99f5f4d79e08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package reference // import "github.com/docker/docker/reference"

type notFoundError string

func (e notFoundError) Error() string {
	return string(e)
}

func (notFoundError) NotFound() {}

type invalidTagError string

func (e invalidTagError) Error() string {
	return string(e)
}

func (invalidTagError) InvalidParameter() {}

type conflictingTagError string

func (e conflictingTagError) Error() string {
	return string(e)
}

func (conflictingTagError) Conflict() {}