import "github.com/apache/beam/sdks/go/pkg/beam/internal/errors"
Package errors contains functionality for creating and wrapping errors with improved formatting compared to the standard Go error functionality.
Errorf returns an error with a message formatted according to the format specifier.
New returns an error with the given message.
SetTopLevelMsg returns a new error with the given top level message. The top level message is the first error message that gets printed when Error() is called on the returned error or any error wrapping it.
SetTopLevelMsgf returns a new error with the given top level message according to the format specifier. The top level message is the first error message that gets printed when Error() is called on the returned error or any error wrapping it.
WithContext returns a new error adding additional context to err.
WithContextf returns a new error adding additional context to err according to the format specifier.
Wrap returns a new error annotating err with a new message.
Wrapf returns a new error annotating err with a new message according to the format specifier.
Package errors imports 3 packages (graph) and is imported by 42 packages. Updated 2020-06-16. Refresh now. Tools for package owners.