3 ms·
I'm always using errors.Wrap or Wrapf otherwise it's hard to find the error cause. I've just created a live template for that in Go, which just puts my cursor
by cube2222 8y ago
I'm always using errors.Wrap or Wrapf otherwise it's hard to find the error cause.
I've just created a live template for that in Go, which just puts my cursor in the wrap message to pass along.