Proposal: Add Go 1.13 error handling to Error section
Hi thanks for this super site.
I am going through it line by line at the moment and wondered if it would be worth making an addition to the existing Error page? Specifically, the new %w, Unwrap, Is and As methods in error. I don't think the new methods should replace the existing content, only compliment it.
I am happy to contribute the example should this idea be accepted.
I think it's a good idea in general, but the devil is in the details. Wrapping errors is a power use, but gobyexample tries to stick to simpler concepts. Detailed discussion can take over a concrete PR, I just wanted to provide some background.
Hi, I have prepared an answer to the problem, raised in the link below. Hope you enjoy it :) 334
@Omid-SH consider submitting a PR with a simple example to this repository. That will be easier to review.