Hacker GitHub

← All repos

juju/errors

View on GitHub ↗ ★ 1,381 Go

Common juju errors and functions to annotate errors. Based on juju/errgo

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2016-06-12 · latest 2019-04-29

Mentions per year 3 mentions · busiest year 2016 (2)
20082026
  1. A bit offtopic how does pkg/errors compare to https://github.com/juju/errors/ ? I see the former is much more popular but the later seem to be nicer, I especially like the deferred annotations, since it's easy to use them to include…
    comment by takeda · 2019-04-29 · in Go 1.13: xerrors
  2. I found the https://github.com/juju/errors library to be a very practical way to include tracing info in the error values. I wish the core error library behaved like that, and that the core language made it less verbose. This is a typical…
    comment by ithkuil · 2016-11-11 · in Seven years of Go
  3. …but I can see that coming in useful too. There have been earlier attempts at something similar (eg https://github.com/juju/errors ) but none with the same clarity of thought. So thanks for a great package Dave and for taking the time to…
    comment by nickcw · 2016-06-12 · in Go stack traces and the errors package