errors: Drop WithMessage

This commit is contained in:
greatroar
2022-10-09 11:23:07 +02:00
parent 1a6160d152
commit ba44666704
3 changed files with 3 additions and 7 deletions

View File

@@ -22,10 +22,6 @@ var Wrap = errors.Wrap
// nil, Wrapf returns nil.
var Wrapf = errors.Wrapf
// WithMessage annotates err with a new message. If err is nil, WithMessage
// returns nil.
var WithMessage = errors.WithMessage
var WithStack = errors.WithStack
// Go 1.13-style error handling.