go/src/errors/wrap_test.go

func TestIs(t *testing.T) {}

type poser

var poserPathErr

func (p *poser) Error() string     {}

func (p *poser) Is(err error) bool {}

func (p *poser) As(err any) bool {}

func TestAs(t *testing.T) {}

func TestAsValidation(t *testing.T) {}

func BenchmarkIs(b *testing.B) {}

func BenchmarkAs(b *testing.B) {}

func TestUnwrap(t *testing.T) {}

type errorT

func (e errorT) Error() string {}

type wrapped

func (e wrapped) Error() string {}

func (e wrapped) Unwrap() error {}

type multiErr

func (m multiErr) Error() string   {}

func (m multiErr) Unwrap() []error {}

type errorUncomparable

func (errorUncomparable) Error() string {}

func (errorUncomparable) Is(target error) bool {}