Andrew Bonventre | b163a6b | 2018-08-28 09:56:06 -0600 | [diff] [blame] | 1 | # Go 2 Error Values Feedback |
| 2 | |
| 3 | This page is meant to collect and organize feedback about the Go 2 [error values draft designs](https://go.googlesource.com/proposal/+/master/design/go2draft-error-values-overview.md). |
| 4 | |
| 5 | Please post feedback on your blog, Medium, GitHub Gists, mailing lists, Google Docs, etc. And then please link it here. |
| 6 | |
| 7 | As the amount of feedback grows, please feel free to organize this page by specific kind of feedback. |
| 8 | |
Liam | bc0f696 | 2018-11-28 15:01:20 -0800 | [diff] [blame] | 9 | ### Further Background |
| 10 | |
| 11 | - Ben Johnson, "[Failure is Your Domain](https://middlemost.com/failure-is-your-domain/)", June 2018 |
| 12 | |
Liam | 43d2380 | 2018-12-20 10:33:44 -0800 | [diff] [blame] | 13 | ### Draft Implementation |
| 14 | |
| 15 | - Go Team, “[x/exp/errors](https://godoc.org/golang.org/x/exp/errors)”, November 2018 |
| 16 | |
| 17 | - Torben Schinke, “[Implementation of the draft design](https://github.com/worldiety/errors)”, December 2018 |
| 18 | |
Andrew Bonventre | b163a6b | 2018-08-28 09:56:06 -0600 | [diff] [blame] | 19 | ### Error Inspection |
| 20 | |
Ilya Sinelnikov | 442e468 | 2018-12-11 15:30:37 +0300 | [diff] [blame] | 21 | - Ilya Sinelnikov, "[`Is` and `As` differ in behavior which is unexpected](https://github.com/sidh/go2errorsinspection)", December 2018 |
Roger Peppe | f9c889b | 2018-11-07 21:13:46 +0000 | [diff] [blame] | 22 | - Roger Peppe, "[Some thoughts about the draft Go error inspection design](https://gist.github.com/rogpeppe/a435b57473152e3429a5a149401edacf)", November 2018 |
Greg Weber | 4c15165 | 2018-09-04 22:51:55 -0700 | [diff] [blame] | 23 | - Greg Weber, “[Horizontal composition: Error inspection for groups](https://gist.github.com/gregwebs/5a14a83970d607411310a3e0281d55be)”, September 2018 |
Eyal Posener | 3b29f08 | 2018-09-19 13:00:42 +0300 | [diff] [blame] | 24 | - Eyal Posener, "[Reply](https://gist.github.com/gregwebs/5a14a83970d607411310a3e0281d55be#gistcomment-2710662)", September 2018 |
K. Alex Mills | 307ea6d | 2018-09-02 15:49:37 -0500 | [diff] [blame] | 25 | - K. Alex mills, "[Rename Wrapper to Unwrapper](https://gist.github.com/kalexmills/46c2cb276c69b659005d8705180b268a)", September 2018 |
jimmyfrasche | b2caf73 | 2018-08-30 11:49:26 -0700 | [diff] [blame] | 26 | - jimmy frasche, "[Why limit this inspection to errors?](https://gist.github.com/jimmyfrasche/04ca2146c9130dab4d993365313722fb)", August 2018 |
Dan Kortschak | 8a2a123 | 2018-08-30 08:42:51 +0930 | [diff] [blame] | 27 | - Dan Kortschak, [Carrying contract expectations and values causing errors in ev3go](https://github.com/ev3go/ev3dev/blob/master/errors.go), August 2018 |
Daniel Theophanes | 18e9375 | 2018-08-30 11:14:29 -0700 | [diff] [blame] | 28 | - Daniel Theophanes, "[Go 2 Design: Error Inspection with Error Lists](https://docs.google.com/document/d/e/2PACX-1vT-CPcBV53awF7vq5bJEi1Y_DkuVmWW0RWl-gsujByB1mjX67rH58-mex1on1waR4Q_gyhPu5TdghMv/pub), August 2018 |
Cosmos Nicolaou | 047335f | 2018-09-04 12:27:53 -0700 | [diff] [blame] | 29 | - Cosmos Nicolaou "[Inspection of errors in a different address space](https://github.com/cosnicolaou/core/wiki/go-2.0-error-handling-feedback)", September 2018 |
Chris Siebenmann | 58d6725 | 2018-09-07 20:20:02 -0400 | [diff] [blame] | 30 | - Chris Siebenmann, "[Error inspection improves current annoyances but may not go far enough](https://utcc.utoronto.ca/~cks/space/blog/programming/Go2ErrorInspectionViews)", September 2018 |
weregamer | 1b74284 | 2018-08-31 12:04:02 -0700 | [diff] [blame] | 31 | - Paul Meyer, “[errors.New?]( - _Your Name_, “[_Title_](#URL)”, August 2018 |
Ian Lance Taylor | 7a90389 | 2018-09-25 13:49:14 -0700 | [diff] [blame] | 32 | - Vojtech Vitek "[adopt Cause and Wrap from github.com/pkg/errors](https://golang.org/issue/25675)", May 2018 |
Andrew Wilkins | fdb6dd5 | 2019-01-30 18:24:46 +0800 | [diff] [blame] | 33 | - Andrew Wilkins "[Programmatic Frame inspection](https://gist.github.com/axw/247b6f69d2da016bb21a5eb1be44e611)", January 2019 |
Carl Johnson | 3c8e491 | 2019-02-07 13:57:11 -0500 | [diff] [blame] | 34 | - _Carl Johnson_, "[_`As()` and `Is()` are useful for optional interfaces beyond error_](https://gist.github.com/carlmjohnson/d06cd8d10e0aef65f565a55cc57cd986), Feb. 2019 |
ques0942 | 947ff37 | 2019-03-07 23:02:18 +0900 | [diff] [blame] | 35 | - ques0942, "[xerrors has less feature about trace's detail](https://dev.to/ques0942/xerrors-has-less-feature-about-traces-detail-4861)", Mar. 2019 |
Liam | ece873c | 2018-08-28 23:23:11 -0700 | [diff] [blame] | 36 | - _Your Name_, “[_Title_](#URL)”, _month year_ |
Andrew Bonventre | b163a6b | 2018-08-28 09:56:06 -0600 | [diff] [blame] | 37 | - etc. |
| 38 | |
| 39 | ### Error Printing |
| 40 | |
Calle Pettersson | b1ea8e3 | 2018-08-29 08:50:23 +0200 | [diff] [blame] | 41 | - Calle Pettersson, [Multi-line errors and log collection tools](https://gist.github.com/carlpett/bc1714060235edc0ad3fd9ead82f4ce6)”, August 2018 |
jimmyfrasche | b2caf73 | 2018-08-30 11:49:26 -0700 | [diff] [blame] | 42 | - jimmy frasche, "[Why limit these interfaces to errors?](https://gist.github.com/jimmyfrasche/e02fcbefee5cb14228768afec17abbee)" , August 2018 |
Chris Hines | b1fff25 | 2018-09-01 02:55:07 -0400 | [diff] [blame] | 43 | - Chris Hines, “[Types cannot implement both the errors.Formatter and fmt.Formatter interfaces |
| 44 | ](https://gist.github.com/ChrisHines/a732a9b1ef3acb6acfee2ccc174e31ed)”, _August 2018_ |
Dean Bassett | 4752318 | 2018-09-03 03:39:35 -0400 | [diff] [blame] | 45 | - Dean Bassett, “[Make errors.Detailer, not errors.Formatter](https://gist.github.com/deanveloper/61544f16a7d4c3d517bda10c08080270)”, _September 2018_ |
Liam | ece873c | 2018-08-28 23:23:11 -0700 | [diff] [blame] | 46 | - _Your Name_, “[_Title_](#URL)”, _month year_ |
Andrew Bonventre | b163a6b | 2018-08-28 09:56:06 -0600 | [diff] [blame] | 47 | - etc. |
andrewchambers | 6f99144 | 2018-08-29 11:08:00 +1200 | [diff] [blame] | 48 | |
| 49 | ### Misc |
| 50 | |
TJ Holowaychuk | 8ad39db | 2019-04-02 19:40:20 +0100 | [diff] [blame] | 51 | - TJ Holowaychuk, [Structured access for structured logging](https://gist.github.com/tj/638adb053f802e6c19686bd2fee443b7), April, 2019 |
mikioh | c254857 | 2018-10-02 13:55:03 +0900 | [diff] [blame] | 52 | - Andrew Chambers, [My current error approach](https://gist.github.com/andrewchambers/5cadb2b8b45271440f1a051bb1ccc9c6), August, 2018 |
Nathan Ollerenshaw | 6d75973 | 2018-10-09 10:16:09 -0700 | [diff] [blame] | 53 | - mikioh, [A walkthrough on Error Values for issue 18183](https://gist.github.com/mikioh/93f575120ded671bad18491ecf41743d), October, 2018 |
| 54 | |
| 55 | ### Against Any Change At All |
| 56 | |
Nathan Ollerenshaw | 5bbaf38 | 2018-10-09 10:17:51 -0700 | [diff] [blame] | 57 | - Rob Pike - [Simplicity is Complicated](https://www.youtube.com/watch?v=rFejpH_tAHM), December 2015 |