errors: implement fmt.Formatter

This commit is contained in:
risk danger olson 2016-08-18 15:55:44 -06:00
parent a3a4e5b78e
commit c99920070c

@ -86,8 +86,10 @@ func Wrapf(err error, format string, args ...interface{}) error {
}
type errorWithCause interface {
Error() string
Cause() error
StackTrace() errors.StackTrace
error
fmt.Formatter
}
func parentOf(err error) error {