/
left76
/
cli
Обзор
Документация
Войти
/
left76
/
cli
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
vendor/github.com/theupdateframework/notary/storage/errors.go
22 строки
499 B
Sebastiaan van Stijn
Move notary to its new location
30 окт 2017, 19:21
Не верифицирован
30 окт 2017, 19:21
6cd5806
Код
Авторство
О чём код?
package storage import ( "errors" "fmt" ) var ( // ErrPathOutsideStore indicates that the returned path would be // outside the store ErrPathOutsideStore = errors.New("path outside file store") ) // 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) }