Reformat comments

This commit is contained in:
Zlatko Čalušić
2016-11-06 11:15:33 +01:00
parent d74e19b13d
commit 5de6d4fd00
11 changed files with 67 additions and 107 deletions

View File

@@ -7,14 +7,13 @@ func Cause(err error) error {
return errors.Cause(err)
}
// New creates a new error based on message. Wrapped so that this package does
// not appear in the stack trace.
// New creates a new error based on message. Wrapped so that this package does not appear in the stack trace.
var New = errors.New
// Errorf creates an error based on a format string and values. Wrapped so that
// this package does not appear in the stack trace.
// Errorf creates an error based on a format string and values. Wrapped so that this package does not appear in the
// stack trace.
var Errorf = errors.Errorf
// Wrap wraps an error retrieved from outside of restic. Wrapped so that this
// package does not appear in the stack trace.
// Wrap wraps an error retrieved from outside of restic. Wrapped so that this package does not appear in the stack
// trace.
var Wrap = errors.Wrap