mirror of https://github.com/docker/docs.git
14 lines
324 B
Go
14 lines
324 B
Go
package store
|
|
|
|
import "fmt"
|
|
|
|
// ErrMetaNotFound indicates we did not find a particular piece
|
|
// of metadata in the store
|
|
type ErrMetaNotFound struct {
|
|
Resource string
|
|
}
|
|
|
|
func (err ErrMetaNotFound) Error() string {
|
|
return fmt.Sprintf("%s trust data unavailable. Has a notary repository been initialized?", err.Resource)
|
|
}
|