func errors.As

13 uses

	errors (current package)
		wrap.go#L97: func As(err error, target any) bool {

	crypto/tls
		conn.go#L1594: 			if !errors.As(c.out.err, &a) {
		handshake_server.go#L940: 			if errors.As(err, &x509.UnknownAuthorityError{}) {
		handshake_server.go#L942: 			} else if errors.As(err, &errCertificateInvalid) && errCertificateInvalid.Reason == x509.Expired {
		quic.go#L363: 	if errors.As(err, &ae) {
		quic.go#L367: 	if !errors.As(err, &a) {

	go.pact.im/x/flaky
		permanent.go#L36: 	ok := errors.As(err, &e)

	go.pact.im/x/goupdate
		tests.go#L63: 	case errors.As(err, &exit):

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

	google.golang.org/grpc/internal/transport
		http_util.go#L381: 	return errors.As(err, &ioError{})

	google.golang.org/grpc/status
		status.go#L113: 	if errors.As(err, &gs) {

	google.golang.org/protobuf/proto
		encode.go#L201: 		if errors.As(err, &mismatch) {

	net
		dnsclient_unix.go#L846: 		if errors.As(err, &dnsErr) && dnsErr.IsNotFound {