3 ms·
A stack trace is bare bones. A skeleton. Instead with %w you pass an error upward, wrapping it at each func with another text annotation, and at the top it eme
by euroderf 2y ago
A stack trace is bare bones. A skeleton.
Instead with %w you pass an error upward, wrapping it at each func with another text annotation, and at the top it emerges a fully-formed story.
Or something like that. But anyways yeah error wrapping works great.