Debian Codegraph @

errors/doc.go

raw symbols SCIP
1 // Copyright (c) The EfficientGo Authors.
2 // Licensed under the Apache License 2.0.
3
4 // Initially copied from Thanos and contributed by https://github.com/bisakhmondal.
5 //
6 // Copyright (c) The Thanos Authors.
7 // Licensed under the Apache License 2.0.
8
9 // Package errors provides basic utilities to manipulate errors with a useful stacktrace. It combines the
10 // benefits of errors.New and fmt.Errorf world into a single package. It is an improved and minimal version of the popular
11 // https://github.com/pkg/errors (archived) package allowing reliable wrapping of errors with stacktrace. Unfortunately,
12 // the standard library recommended error wrapping using `%+w` is prone to errors and does not support stacktraces.
13 package errors