Don't throw away the value: return fmt.Errorf("%s (%d)", e, int(i))