docs/tuf/client/errors.go

15 lines
230 B
Go

package client
import (
"fmt"
)
// ErrCorruptedCache - local data is incorrect
type ErrCorruptedCache struct {
file string
}
func (e ErrCorruptedCache) Error() string {
return fmt.Sprintf("cache is corrupted: %s", e.file)
}