3 ms·
Panics provide stacktraces, but are not the way to get stack traces. runtime/debug has the API to generate stacktraces. github.com/pkg/errors is the ubiquitou
by omegabravo 7y ago
Panics provide stacktraces, but are not the way to get stack traces. runtime/debug has the API to generate stacktraces.
github.com/pkg/errors is the ubiquitous library for seamlessly including stacktraces in errors