func errors.As

11 uses

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

	crypto/tls
		conn.go#L1578: 			if !errors.As(c.out.err, &a) {
		handshake_server.go#L900: 			if errors.As(err, &x509.UnknownAuthorityError{}) {
		handshake_server.go#L902: 			} else if errors.As(err, &errCertificateInvalid) && errCertificateInvalid.Reason == x509.Expired {
		quic.go#L305: 	if errors.As(err, &ae) {
		quic.go#L309: 	if !errors.As(err, &a) {

	github.com/cenkalti/backoff/v4
		retry.go#L94: 		if errors.As(err, &permanent) {

	github.com/go-faster/errors
		wrap.go#L134: func As(err error, target interface{}) bool { return errors.As(err, target) }

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

	nhooyr.io/websocket
		close.go#L81: 	if errors.As(err, &ce) {