func errors.Is

41 uses

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

	database/sql
		sql.go#L854: 		isBadConn = errors.Is(err, driver.ErrBadConn)
		sql.go#L1321: 		if err := conn.resetSession(ctx); errors.Is(err, driver.ErrBadConn) {
		sql.go#L1385: 			if err := ret.conn.resetSession(ctx); errors.Is(err, driver.ErrBadConn) {
		sql.go#L1446: 	if !errors.Is(err, driver.ErrBadConn) {
		sql.go#L1460: 	if !errors.Is(err, driver.ErrBadConn) && dc.expired(db.maxLifetime) {
		sql.go#L1475: 	if errors.Is(err, driver.ErrBadConn) {
		sql.go#L1558: 		isBadConn = errors.Is(err, driver.ErrBadConn)
		sql.go#L1636: 		isBadConn = errors.Is(err, driver.ErrBadConn)
		sql.go#L1711: 		isBadConn = errors.Is(err, driver.ErrBadConn)
		sql.go#L1848: 		isBadConn = errors.Is(err, driver.ErrBadConn)
		sql.go#L1929: 		isBadConn = errors.Is(err, driver.ErrBadConn)
		sql.go#L2098: 	if errors.Is(err, driver.ErrBadConn) {
		sql.go#L2292: 	if !errors.Is(err, driver.ErrBadConn) {
		sql.go#L2324: 	if !errors.Is(err, driver.ErrBadConn) {
		sql.go#L2630: 			if errors.Is(err, driver.ErrBadConn) {
		sql.go#L2638: 		if !errors.Is(err, driver.ErrBadConn) {
		sql.go#L2778: 			if errors.Is(err, driver.ErrBadConn) {
		sql.go#L2812: 		if !errors.Is(err, driver.ErrBadConn) {

	go.uber.org/multierr
		error.go#L262: 		if errors.Is(err, target) {

	golang.org/x/net/http2
		client_conn_pool.go#L303: 	if !errors.Is(call.err, context.Canceled) && !errors.Is(call.err, context.DeadlineExceeded) {
		transport.go#L470: 		if n < len(p) && nn > 0 && errors.Is(err, os.ErrDeadlineExceeded) {
		transport.go#L2199: 	if errors.Is(err, io.EOF) {
		transport.go#L2203: 	if errors.Is(err, io.ErrUnexpectedEOF) {
		transport.go#L2207: 	if errors.Is(err, ErrFrameTooLarge) {

	google.golang.org/grpc/status
		status.go#L128: 	if errors.Is(err, context.DeadlineExceeded) {
		status.go#L131: 	if errors.Is(err, context.Canceled) {

	google.golang.org/protobuf/internal/errors
		is_go113.go#L13: func Is(err, target error) bool { return errors.Is(err, target) }

	gotest.tools/v3/assert/cmp
		compare.go#L387: 		if errors.Is(actual, expected) {

	gotest.tools/v3/internal/assert
		result.go#L36: 			case errors.Is(err, source.ErrNotFound):

	net/http
		fs.go#L49: 	if errors.Is(originalErr, fs.ErrNotExist) || errors.Is(originalErr, fs.ErrPermission) {
		fs.go#L673: 	if errors.Is(err, fs.ErrNotExist) {
		fs.go#L676: 	if errors.Is(err, fs.ErrPermission) {
		h2_bundle.go#L1023: 	if !errors.Is(call.err, context.Canceled) && !errors.Is(call.err, context.DeadlineExceeded) {
		h2_bundle.go#L7130: 		if n < len(p) && nn > 0 && errors.Is(err, os.ErrDeadlineExceeded) {
		h2_bundle.go#L8790: 	if errors.Is(err, io.EOF) {
		h2_bundle.go#L8794: 	if errors.Is(err, io.ErrUnexpectedEOF) {
		h2_bundle.go#L8798: 	if errors.Is(err, http2ErrFrameTooLarge) {