lo
lo copied to clipboard
Custom error type.
Support user custom error handle in Must() ( like attach the callstack information );
Support MustE("foo", customErr{A: 11, B: 22}) to recover customErr type.
Hi, could someone take a look at this MR? The MustX
function will lose the original error.
Hi, could someone take a look at this MR? The
MustX
function will lose the original error.
Can you give me a example code ?
Hi, could someone take a look at this MR? The
MustX
function will lose the original error.Can you give me a example code ?
The MuxtX means the Must and Must{0->6}, here is an example I can't restore the original error. https://goplay.space/#k1qNcdql4Uz
I like the MustE in this MR.
Haha, this is right. I misunderstood your meaning.