Re: [go-nuts] Need for clarification on go1.13-errors blog page

2021-05-02 Thread Reha S
Great, thanks. On Sunday, May 2, 2021 at 8:03:59 PM UTC+2 axel.wa...@googlemail.com wrote: > You can put the "however" at the beginning of the sentence: > > "The errors package also includes a new Unwrap function […]. However, it > is usually better to use errors.Is or errors.As, since these fu

Re: [go-nuts] Need for clarification on go1.13-errors blog page

2021-05-02 Thread 'Axel Wagner' via golang-nuts
You can put the "however" at the beginning of the sentence: "The errors package also includes a new Unwrap function […]. However, it is usually better to use errors.Is or errors.As, since these functions will examine the entire chain in a single call." This is the intended meaning. I agree that i

[go-nuts] Need for clarification on go1.13-errors blog page

2021-05-02 Thread Reha S
Hi Everyone, On https://blog.golang.org/go1.13-errors there's a sentence: "*It is usually better to use errors.Is or errors.As, however, since these functions will examine the entire chain in a single call.*" This sentence sounds like it has more to it, or the word *however *is an extra wor