func errors.Is

26 uses

	errors (current package)
		wrap.go#L44: func Is(err, target error) bool {

	crypto/rand
		rand_unix.go#L83: 	if errors.Is(err, syscall.EAGAIN) {

	mime/multipart
		formdata.go#L246: 				if e != nil && !errors.Is(e, os.ErrNotExist) && err == nil {

	net
		conf.go#L277: 	if canUseCgo && dnsConf.err != nil && !errors.Is(dnsConf.err, fs.ErrNotExist) && !errors.Is(dnsConf.err, fs.ErrPermission) {
		conf.go#L294: 		if errors.Is(dnsConf.err, fs.ErrNotExist) {
		conf.go#L345: 	if errors.Is(nss.err, fs.ErrNotExist) || (nss.err == nil && len(srcs) == 0) {
		conf.go#L414: 					if err != nil && !errors.Is(err, fs.ErrNotExist) {
		hosts.go#L70: 		if !errors.Is(err, fs.ErrNotExist) && !errors.Is(err, fs.ErrPermission) {
		mptcpsock_linux.go#L39: 	case errors.Is(err, syscall.EPROTONOSUPPORT): // Not supported: >= v5.6
		mptcpsock_linux.go#L40: 	case errors.Is(err, syscall.EINVAL): // Not supported: < v5.6
		net.go#L688: 	if errors.Is(err, context.DeadlineExceeded) || errors.Is(err, context.Canceled) {

	net/http
		fs.go#L50: 	if errors.Is(originalErr, fs.ErrNotExist) || errors.Is(originalErr, fs.ErrPermission) {
		fs.go#L765: 	if errors.Is(err, fs.ErrNotExist) {
		fs.go#L768: 	if errors.Is(err, fs.ErrPermission) {
		h2_bundle.go#L1028: 	if !errors.Is(call.err, context.Canceled) && !errors.Is(call.err, context.DeadlineExceeded) {
		h2_bundle.go#L4608: 	if errors.Is(err, net.ErrClosed) {
		h2_bundle.go#L7653: 		if n < len(p) && nn > 0 && errors.Is(err, os.ErrDeadlineExceeded) {
		h2_bundle.go#L9472: 	if errors.Is(err, io.EOF) {
		h2_bundle.go#L9476: 	if errors.Is(err, io.ErrUnexpectedEOF) {
		h2_bundle.go#L9480: 	if errors.Is(err, http2ErrFrameTooLarge) {

	os
		file.go#L445: 	} else if checkWrapErr && errors.Is(err, poll.ErrFileClosing) {