package
0.27.0-alpha
Repository: https://github.com/kubernetes-sigs/kind.git
Documentation: pkg.go.dev

# Functions

AggregateConcurrent runs fns concurrently, returning a NewAggregate if there are > 1 errors.
Errorf formats according to a format specifier and returns the string as a value that satisfies error.
Errors returns the deepest Aggregate in a Cause chain.
New returns an error with the supplied message.
NewAggregate is a k8s.io/apimachinery/pkg/util/errors.NewAggregate compatible wrapper note that while it returns a StackTrace wrapped Aggregate That has been Flattened and Reduced.
NewWithoutStack is like new but does NOT wrap with a stack This is useful for exported errors.
StackTrace returns the deepest StackTrace in a Cause chain https://github.com/pkg/errors/issues/173.
UntilErrorConcurrent runs all funcs in separate goroutines, returning the first non-nil error returned from funcs, or nil if all funcs return nil.
WithStack annotates err with a stack trace at the point WithStack was called.
Wrap returns an error annotating err with a stack trace at the point Wrap is called, and the supplied message.
Wrapf returns an error annotating err with a stack trace at the point Wrapf is called, and the format specifier.

# Interfaces

Aggregate represents an object that contains multiple errors, but does not necessarily have singular semantic meaning.
Causer is an interface to github.com/pkg/errors error's Cause() wrapping.
StackTracer is an interface to github.com/pkg/errors error's StackTrace().