Future of Error Formatting in the Standard Library

155 views
Skip to first unread message

Joseph Lorenzini

unread,
Jan 5, 2020, 8:33:55 AM1/5/20
to golang-nuts

Hi all,


In the Go 2: Errors Proposal (issue 29934), a decision was made to defer error formatting changes and come up with a revised proposal for 1.14. I believe 1.14 is close to being release but I have not seen a proposal. I was curious if something is still in the works for this or whether this has been put on hold indefinitely.

Asking because, it seems like something similar to what xerrors does with annotating and printing stack frames would be really useful in the standard lib for making go code in general easier to debug.


Thank,
Joe

Sebastien Binet

unread,
Jan 16, 2020, 6:43:18 AM1/16/20
to Joseph Lorenzini, golang-nuts
If I am not mistaken, this aspect of the errors proposal is in:

-s
Reply all
Reply to author
Forward
0 new messages