errors: add Frame and Formatter/Printer interfaces
errors.New now implements Formatter and includes Frame information that is reported when detail is requested. Partly implements proposal Issue #29934. Change-Id: Id76888d246d7d862595b5e92d517b9c03f23a7a6 Reviewed-on: https://go-review.googlesource.com/c/163557 Run-TryBot: Marcel van Lohuizen <mpvl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
Showing
src/errors/format.go
0 → 100644
src/errors/frame.go
0 → 100644
src/errors/frame_test.go
0 → 100644
Please register or sign in to comment