HTTP/2 200
content-security-policy: object-src 'none'; base-uri 'none'; script-src 'unsafe-inline' 'strict-dynamic' https: http: 'sha256-DVdvl49HC0iGx/YKQq/kVNATnEdzGfExbJVTHqT95l8=' 'sha256-CoGrkqEM1Kjjf5b1bpcnDLl8ZZLAsVX+BoAzZ5+AOmc=' 'sha256-QqhlxKosyquihHG/Jahbski3BB1pDss2/CDgLzKKbmE=' 'sha256-karKh1IrXOF1g+uoSxK+k9BuciCwYY/ytGuQVUiRzcM=' 'sha256-mxm3e8M0u3nPPBmLIBgGuMvGUIL5LGv+HzV3bLAIBgw=' 'sha256-+iS8jRq15Ez/Kzz0/G+SNc0geLNvTyf2NZC7MyJgpRE=' 'sha256-UiVwSVJIK9udADqG5GZe+nRUXWK9wEot2vrxL4D2pQs=' 'sha256-cB+y/oSfWGFf7lHk8KX+ZX2CZQz/dPamIICuPvHcB6w=' 'sha256-7mi5SPcD1cogj2+ju8J/+/qJG99F6Qo+3pO4xQkRf6Q=' 'sha256-rEbn/zvLCsDDvDrVWQuUkKGEQsjQjFvIvJK4NVIMqZ4='
x-content-type-options: nosniff
x-frame-options: deny
content-type: text/html; charset=utf-8
date: Fri, 18 Jul 2025 21:56:31 GMT
server: Google Frontend
via: 1.1 google
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Discover Packages
github.com/apache/beam/sdks/v2
go
pkg
beam
internal
errors
package
Version:
v2.66.0
Opens a new window with list of versions in this module.
Published: Jun 23, 2025
License: Apache-2.0, BSD-3-Clause, MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Overview
Index
Constants
Variables
Functions
Errorf(format, args)
New(message)
SetTopLevelMsg(err, top)
SetTopLevelMsgf(err, format, args)
WithContext(err, context)
WithContextf(err, format, args)
Wrap(err, message)
Wrapf(err, format, args)
Types
Source Files
Documentation
Documentation
¶
Package errors contains functionality for creating and wrapping errors with improved formatting
compared to the standard Go error functionality.
func Errorf(format string, args ...any) error
func New(message string) error
func SetTopLevelMsg(err error, top string) error
func SetTopLevelMsgf(err error, format string, args ...any) error
func WithContext(err error, context string) error
func WithContextf(err error, format string, args ...any) error
func Wrap(err error, message string) error
func Wrapf(err error, format string, args ...any) error
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.