logoalt Hacker News

tubthumper8last Wednesday at 4:25 AM1 replyview on HN

The "Error Return Trace" described in the next section down also seems like an interesting alternative to a stack trace, possibly solving the same problem with less noise.

How well does it work in practice?


Replies

kristoff_itlast Wednesday at 7:06 AM

It works really, really well, in part because it's also capable of tracking where an error is turned into another. And the error return trace ends where the stack trace begins (when an error is turned into a panic) so you don't even have to know what an error trace is, because it just makes sense intuitively.