An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : fuchsia.googlesource.com/third_party/github.com/pkg/errors.git

Package errors provides simple error handling primitives. The traditional error handling idiom in Go is roughly akin to which when applied recursively up the call stack results in error reports without context or debugging information. The errors package allows programmers to add context to the failure path in their code in a way that does not destroy the original value of the error. The errors.Wrap function returns a new error that adds context to the original error by recording a stack trace at the point Wrap is called, together with the supplied message. For example If additional control is required, the errors.WithStack and errors.WithMessage functions destructure errors.Wrap into its component operations: annotating an error with a stack trace and with a message, respectively. Using errors.Wrap constructs a stack of errors, adding context to the preceding error. Depending on the nature of the error it may be necessary to reverse the operation of errors.Wrap to retrieve the original error for inspection. Any error value which implements this interface can be inspected by errors.Cause. errors.Cause will recursively retrieve the topmost error that does not implement causer, which is assumed to be the original cause. For example: Although the causer interface is not exported by this package, it is considered a part of its stable public interface. All error values returned from this package implement fmt.Formatter and can be formatted by the fmt package. The following verbs are supported: New, Errorf, Wrap, and Wrapf record a stack trace at the point they are invoked. This information can be retrieved with the following interface: The returned errors.StackTrace type is defined as The Frame type represents a call site in the stack trace. Frame supports the fmt.Formatter interface that can be used for printing information about the stack trace of this error. For example: Although the stackTracer interface is not exported by this package, it is considered a part of its stable public interface. See the documentation for Frame.Format for more details.

Registry - Source - Homepage - Documentation - JSON
purl: pkg:golang/fuchsia.googlesource.com/third_party/github.com/pkg/errors.git
License: BSD-2-Clause
Latest release: over 5 years ago
First release: about 9 years ago
Namespace: fuchsia.googlesource.com/third_party/github.com/pkg
Last synced: 9 days ago

Top 8.2% on proxy.golang.org
fuchsia.googlesource.com/third_party/github.com/googleapis/google-cloud-go.git v0.120.1
Package cloud is the root of the packages used to access Google Cloud Services. See https://godoc...
161 versions - Latest release: 19 days ago
Top 8.2% on proxy.golang.org
fuchsia.googlesource.com/third_party/github.com/fsnotify/fsnotify.git v1.9.0
Package fsnotify provides a platform-independent interface for file system notifications.
38 versions - Latest release: 29 days ago
Top 8.2% on proxy.golang.org
fuchsia.googlesource.com/third_party/github.com/grpc/grpc-go.git v1.71.1
Package grpc implements an RPC system called gRPC. See grpc.io for more information about gRPC.
203 versions - Latest release: about 1 month ago
Top 8.2% on proxy.golang.org
fuchsia.googlesource.com/third_party/github.com/pkg/sftp.git v1.13.9
Package sftp implements the SSH File Transfer Protocol as described in https://tools.ietf.org/htm...
20 versions - Latest release: about 1 month ago
Top 8.2% on proxy.golang.org
fuchsia.googlesource.com/third_party/github.com/protocolbuffers/protobuf-go.git v1.36.6
32 versions - Latest release: about 1 month ago
Top 8.2% on proxy.golang.org
fuchsia.googlesource.com/third_party/github.com/google/go-cmp.git v0.7.0
18 versions - Latest release: 4 months ago
Top 8.2% on proxy.golang.org
fuchsia.googlesource.com/third_party/github.com/spf13/pflag.git v1.0.6
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flag...
8 versions - Latest release: 4 months ago
Top 8.2% on proxy.golang.org
fuchsia.googlesource.com/third_party/github.com/creack/pty.git v1.1.24
Package pty provides functions for working with Unix terminals.
25 versions - Latest release: 6 months ago
Top 8.2% on proxy.golang.org
fuchsia.googlesource.com/third_party/github.com/golang/protobuf.git v1.5.4
22 versions - Latest release: about 1 year ago
Top 8.2% on proxy.golang.org
fuchsia.googlesource.com/third_party/github.com/kr/fs.git v0.1.0
Package fs provides filesystem-related functions.
1 version - Latest release: almost 7 years ago
Top 8.2% on proxy.golang.org
fuchsia.googlesource.com/third_party/github.com/go-yaml/yaml.git v2.1.0+incompatible
Package yaml implements YAML support for the Go language. Source code and other details for the ...
2 versions - Latest release: about 7 years ago