func errors.As
11 uses
errors (current package)
wrap.go#L102: func As(err error, target any) bool {
github.com/cenkalti/backoff/v4
retry.go#L94: if errors.As(err, &permanent) {
github.com/coder/websocket
close.go#L80: if errors.As(err, &ce) {
github.com/go-faster/errors
wrap.go#L134: func As(err error, target interface{}) bool { return errors.As(err, target) }
github.com/refraction-networking/utls
conn.go#L1604: if !errors.As(c.out.err, &a) {
handshake_server.go#L950: if errors.As(err, &x509.UnknownAuthorityError{}) {
handshake_server.go#L952: } 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) {
u_conn.go#L408: if !errors.As(c.out.err, &a) {
go.opentelemetry.io/otel/semconv/v1.41.0
error_type.go#L48: if errors.As(err, &et) {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |