func errors.AsType

10 uses

	errors (current package)
		wrap.go#L167: func AsType[E error](err error) (E, bool) {

	crypto/tls
		conn.go#L1589: 			a, ok := errors.AsType[alert](c.out.err)
		handshake_server.go#L981: 			if _, ok := errors.AsType[x509.UnknownAuthorityError](err); ok {
		handshake_server.go#L983: 			} else if errCertificateInvalid, ok := errors.AsType[x509.CertificateInvalidError](err); ok && errCertificateInvalid.Reason == x509.Expired {
		quic.go#L385: 	if _, ok := errors.AsType[AlertError](err); ok {
		quic.go#L388: 	a, ok := errors.AsType[alert](err)

	go.pact.im/x/flaky
		permanent.go#L35: 	return errors.AsType[*PermanentError](err)

	go.pact.im/x/goupdate
		tests.go#L62: 		if _, ok := errors.AsType[*exec.ExitError](err); ok {

	go.pact.im/x/httprange
		bytes.go#L100: 		if e, ok := errors.AsType[*UnsatisfiedRangeError](err); ok {

	net
		dnsclient_unix.go#L845: 		if dnsErr, ok := errors.AsType[*DNSError](err); ok && dnsErr.IsNotFound {