new dependency

Tim Penhey tim.penhey at canonical.com
Tue Feb 4 08:17:09 UTC 2014


Heads up folks, a new dependency has been added.

github.com/errgo/errgo

This can replace most fmt.Errorf calls.

errgo captures the location of the calls to New, Annotate and Translate
and will create a call stack.

errgo.New to create a new error
errgo.Annotate to add contextual information.

Docs need a little work.

tim



More information about the Juju-dev mailing list