kubernetes/vendor/github.com/containerd/errdefs/errors.go

var ErrUnknown

var ErrInvalidArgument

var ErrNotFound

var ErrAlreadyExists

var ErrFailedPrecondition

var ErrUnavailable

var ErrNotImplemented

// IsInvalidArgument returns true if the error is due to an invalid argument
func IsInvalidArgument(err error) bool {}

// IsNotFound returns true if the error is due to a missing object
func IsNotFound(err error) bool {}

// IsAlreadyExists returns true if the error is due to an already existing
// metadata item
func IsAlreadyExists(err error) bool {}

// IsFailedPrecondition returns true if an operation could not proceed to the
// lack of a particular condition
func IsFailedPrecondition(err error) bool {}

// IsUnavailable returns true if the error is due to a resource being unavailable
func IsUnavailable(err error) bool {}

// IsNotImplemented returns true if the error is due to not being implemented
func IsNotImplemented(err error) bool {}

// IsCanceled returns true if the error is due to `context.Canceled`.
func IsCanceled(err error) bool {}

// IsDeadlineExceeded returns true if the error is due to
// `context.DeadlineExceeded`.
func IsDeadlineExceeded(err error) bool {}