Hacker News new | past | comments | ask | show | jobs | submit login

> having no stack for errors is insanely frustrating.

Check out https://github.com/pkg/errors

If you want more rich control of the output of the stack trace there's https://github.com/go-stack/stack




Yeah, we've started using that. Kind of amazing that you need an addon lib & Wrap() everywhere to make errors useful. Just more boilerplate! :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: