Skip to content

errors 0.2.0

Choose a tag to compare

@davecheney davecheney released this 25 Apr 06:15
· 119 commits to master since this release

What's new

  • Added Wrapf method which takes the usual fmt.Printf arguments. Thanks @umairidris. Fixes #6
  • pkg/errors now has an A+ Go report card. Thanks @umairidris

Bug fixes since 0.1.0

  • Wrap would incorrect interpret fmt like verbs as format arguments, corrupting the error message. Thanks @enisoc
  • errors.loc.Location (and errors.Fprint) now more reliably detect the full package path, even in the presence of vendoring or multiple GOPATH segments. Thanks @ChrisHines. Fixes #8