Return wraps the error to be returned to the caller.
func Get(id string) (_ int, rerr error) {
defer terrors.Return(&rerr, func(err error) error {
return errors.Errorf("Get(%q): %w", id, err)
})
// ...
return 100, nil
}
terrors.Return is based on derrors.Wrap.