import "github.com/theupdateframework/notary/tuf/validation"
ErrBadHierarchy represents missing metadata. Currently: a missing snapshot at this current time. When delegations are implemented it will also represent a missing delegation parent
func (err ErrBadHierarchy) Error() string
ErrBadRoot represents a failure validating the root
func (err ErrBadRoot) Error() string
ErrBadSnapshot represents a failure to validate the snapshot
func (err ErrBadSnapshot) Error() string
ErrBadTargets represents a failure to validate a targets (incl delegations)
func (err ErrBadTargets) Error() string
ErrValidation represents a general validation error
func (err ErrValidation) Error() string
SerializableError is a struct that can be used to serialize an error as JSON
func NewSerializableError(err error) (*SerializableError, error)
NewSerializableError serializes one of the above errors into JSON
func (s *SerializableError) UnmarshalJSON(text []byte) (err error)
UnmarshalJSON attempts to unmarshal the error into the right type
Package validation imports 2 packages (graph) and is imported by 18 packages. Updated 2017-10-27. Refresh now. Tools for package owners.