Dave Cheney
Dave Cheney
A wrap without a message is called WithStack. Is that useful for your use case?
I’m sorry, I don’t think what you are doing is correct according to the philosophy of his package. I think you should not use wrap to wrap a predeclared error,...
The thing is this errors package goes out of its way to make it hard (sometimes impossible) to compare two errors by value. If you do want to do that,...
You’re welcome. Since I wrote this package several years ago there has been a lot of discussion about the way that errors should be handled. This package is unapologetically a...
Thank you for raising this issue. I don't know how to do what you've asked so I'll mark this issue marked help wanted.
The errors package explicitly makes it hard to use for Singleton errors. I suggest using the stdlib errors.new and wrapping when needed. > On 19 Jun 2018, at 03:50, 哲の王...
I recommend using pkg/errors.New at the point you need to return an error. You won’t be able to compare that error value to another other than nil, but that’s the...
I'm sorry I haven't replied before now. I'm going to close this issue as there is nothing to do here; this package isn't what you what, its designed in a...
Thank you for raising this issue. I have two comments on this 1. the first is I'm not keen on adding an API which takes two parameters of the same...
Why not use net/http/pprof ? > On 17 Aug 2016, at 07:58, James Cline [email protected] wrote: > > Hi, > > I have a use case where I want to...