Re: [go-nuts] Re: A suggestion for the error handling proposal

2018-10-22 Thread Burak Serdar
On Mon, Oct 22, 2018 at 12:31 PM Liam wrote: > > You might want to read the links on the feedback wiki, if you haven't already: > https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback > > Quite a lot of them suggest named handlers. One difference in this proposal is that handler err { } defi

[go-nuts] Re: A suggestion for the error handling proposal

2018-10-22 Thread Liam
You might want to read the links on the feedback wiki, if you haven't already: https://github.com/golang/go/wiki/Go2ErrorHandlingFeedback Quite a lot of them suggest named handlers. Feel free to add your gist link to the wiki! On Monday, October 22, 2018 at 7:33:38 AM UTC-7, Burak Serdar wrote:

Re: [go-nuts] Re: A suggestion for the error handling proposal

2018-10-22 Thread Burak Serdar
It is public, but github is behaving weirdly since this morning. I include it here: This is a suggestion to make error handling more explicit than what's described in the official proposal. An error handler is declared as: handle err { return err } This declares err as an error variable, and an

[go-nuts] Re: A suggestion for the error handling proposal

2018-10-22 Thread Jon Conradt
I got a 404 when I tried to access this. Perhaps it is not public? Jon On Monday, October 22, 2018 at 10:33:38 AM UTC-4, Burak Serdar wrote: > > I read the error handling proposal recently, and although I like it in > general, I don't like the fact that it hides the actual error > variables fro