3 ms·
How do you convince every other library that you might sandwich on your call stack to use your error library so your error data gets passed through correctly?
by barrkel 7y ago
How do you convince every other library that you might sandwich on your call stack to use your error library so your error data gets passed through correctly?
- tptacek 7y agoWell, at this point, don't you just wrap the error? Isn't that the point of this post?
- barrkel 7y agoAnd stack trace in the middle?
- _ph_ 7y agoThe other library doesn't have to use your error library, it just needs to preserve your error when passing through. To make this a common practise, this proposal was made.