Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

errors 0.2.0

Compare
Choose a tag to compare
@davecheney davecheney released this 25 Apr 06:15
· 118 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