commit | 4ee764adc4b16dede5e62c8e4de9f4a2038f8b15 | [log] [tgz] |
---|---|---|
author | Marcel van Lohuizen <mpvl@golang.org> | Wed Oct 24 13:11:10 2018 +0200 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Tue Nov 06 16:59:01 2018 +0000 |
tree | a67cbedf7746c0c1fd94e12b370a633695e8f53a | |
parent | b566bde8a39a21544fe0df5e5b141eca79a76506 [diff] |
errors: add Caller, a helper for recording stack frame detail Caller returns a Frame that can be stored in an error and then used when formatting error detail, to print information about a particular caller's frame. Change-Id: I0dc9f9e05c86e47a140ecfe987bdcb29c145d9be Reviewed-on: https://go-review.googlesource.com/c/144198 Run-TryBot: Marcel van Lohuizen <mpvl@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.