context.Context.Err (method)

81 uses

	context (current package)
		context.go#L112: 	Err() error
		context.go#L468: 		child.cancel(false, parent.Err(), Cause(parent))
		context.go#L493: 			child.cancel(false, parent.Err(), Cause(parent))
		context.go#L507: 			child.cancel(false, parent.Err(), Cause(parent))

	crypto/tls
		conn.go#L1532: 				interruptRes <- handshakeCtx.Err()

	github.com/cenkalti/backoff/v4
		retry.go#L99: 			if cerr := ctx.Err(); cerr != nil {
		retry.go#L114: 			return res, ctx.Err()

	github.com/gotd/td/internal/mtproto
		ack.go#L33: 			return errors.Wrap(ctx.Err(), "acl")
		ping.go#L34: 		return ctx.Err()
		ping.go#L78: 		return ctx.Err()
		ping.go#L107: 			return errors.Wrap(ctx.Err(), "ping loop")
		read.go#L95: 			return ctx.Err()
		read.go#L173: 				return ctx.Err()
		read.go#L191: 				return errors.Wrap(ctx.Err(), "read loop")
		salt.go#L54: 		return ctx.Err()
		salt.go#L71: 			return ctx.Err()

	github.com/gotd/td/internal/pool
		pool.go#L184: 			return nil, ctx.Err()
		pool.go#L186: 			return nil, errors.Wrap(c.ctx.Err(), "DC closed")
		pool.go#L221: 		err = ctx.Err()
		pool.go#L223: 		err = errors.Wrap(c.ctx.Err(), "DC closed")

	github.com/gotd/td/internal/rpc
		engine.go#L133: 	if err != nil && !errors.Is(err, retryCtx.Err()) {
		engine.go#L147: 			return ctx.Err()
		engine.go#L162: 			return ctx.Err()
		engine.go#L166: 		return ctx.Err()
		engine.go#L168: 		return errors.Wrap(e.reqCtx.Err(), "engine forcibly closed")
		engine.go#L202: 				return ctx.Err()
		engine.go#L204: 				return errors.Wrap(e.reqCtx.Err(), "engine forcibly closed")

	github.com/gotd/td/telegram
		bot.go#L14: 	return ctx.Err()
		builder.go#L128: 					return ctx.Err()
		connect.go#L43: 			return ctx.Err()
		connect.go#L105: 			return errors.Wrap(c.ctx.Err(), "client already closed")
		connect.go#L140: 			return ctx.Err()
		connect.go#L142: 			return c.ctx.Err()
		connect.go#L148: 			return ctx.Err()
		migrate_to_dc.go#L17: 		return ctx.Err()
		migrate_to_dc.go#L24: 		return ctx.Err()
		migrate_to_dc.go#L36: 		return ctx.Err()
		migrate_to_dc.go#L70: 		return ctx.Err()
		pool.go#L27: 		return nil, errors.Wrap(c.ctx.Err(), "client already closed")

	github.com/gotd/td/telegram/auth/qrlogin
		qrlogin.go#L160: 			return nil, ctx.Err()

	github.com/gotd/td/telegram/dcs
		plain.go#L166: 			return nil, ctx.Err()

	github.com/gotd/td/telegram/internal/manager
		conn.go#L124: 		if err != nil && ctx.Err() == nil {
		conn.go#L146: 		return ctx.Err()

	github.com/gotd/td/tgerr
		flood_wait.go#L64: 			return false, ctx.Err()

	golang.org/x/net/internal/socks
		client.go#L43: 				errCh <- ctx.Err()

	golang.org/x/net/proxy
		dial.go#L44: 		if conn != nil && ctx.Err() != nil {
		dial.go#L50: 		err = ctx.Err()

	net
		cgo_unix.go#L65: 		return zero, mapErr(ctx.Err())
		dial.go#L593: 			return nil, &OpError{Op: "dial", Net: sd.network, Source: sd.LocalAddr, Addr: ra, Err: mapErr(ctx.Err())}
		fd_unix.go#L64: 			return nil, mapErr(ctx.Err())
		fd_unix.go#L125: 				interruptRes <- ctx.Err()
		fd_unix.go#L144: 				return nil, mapErr(ctx.Err())
		lookup.go#L347: 		ctxErr := ctx.Err()

	net/http
		h2_bundle.go#L1031: 	return call.ctx.Err() != nil
		h2_bundle.go#L7668: 					err = req.Context().Err()
		h2_bundle.go#L8170: 		return ctx.Err()
		h2_bundle.go#L8324: 			return ctx.Err()
		h2_bundle.go#L8397: 			err := ctx.Err()
		h2_bundle.go#L8441: 		return ctx.Err()
		h2_bundle.go#L8514: 				err = ctx.Err()
		h2_bundle.go#L8560: 			return ctx.Err()
		h2_bundle.go#L8579: 		return ctx.Err()
		h2_bundle.go#L8921: 			return 0, ctx.Err()
		h2_bundle.go#L10041: 		return ctx.Err()
		server.go#L2817: 			return ctx.Err()
		server.go#L3418: 		switch err := ctx.Err(); err {
		socks_bundle.go#L49: 				errCh <- ctx.Err()
		transport.go#L575: 			return nil, ctx.Err()
		transport.go#L1408: 				return nil, req.Context().Err()
		transport.go#L1422: 		return nil, req.Context().Err()
		transport.go#L1730: 			return nil, connectCtx.Err()
		transport.go#L2254: 			pc.t.cancelRequest(rc.cancelKey, rc.req.Context().Err())
		transport.go#L2698: 			canceled = pc.t.cancelRequest(req.cancelKey, req.Context().Err())

	nhooyr.io/websocket
		conn.go#L190: 			c.setCloseErr(fmt.Errorf("read timed out: %w", readCtx.Err()))
		conn.go#L197: 			c.close(fmt.Errorf("write timed out: %w", writeCtx.Err()))
		conn.go#L246: 		err := fmt.Errorf("failed to wait for pong: %w", ctx.Err())
		conn.go#L284: 		err := fmt.Errorf("failed to acquire lock: %w", ctx.Err())
		read.go#L223: 			return header{}, ctx.Err()
		read.go#L252: 			return n, ctx.Err()
		write.go#L264: 			return 0, ctx.Err()
		write.go#L283: 				err = ctx.Err()