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 from the flow. Also, I think the error chaining method as described in the proposal is not very useful. So I came up with this suggestion:
https://gist.github.com/bserdar/4c728f85ca30de25a433e84ad5a065a1 -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.