func context.Cause

10 uses

	context (current package)
		context.go#L288: func Cause(c Context) error {
		context.go#L486: 		child.cancel(false, parent.Err(), Cause(parent))
		context.go#L511: 			child.cancel(false, parent.Err(), Cause(parent))
		context.go#L525: 			child.cancel(false, parent.Err(), Cause(parent))

	github.com/gotd/td/rpc
		engine.go#L232: 				return errors.Wrap(context.Cause(e.reqCtx), "engine forcibly closed")

	net/http
		transport.go#L677: 			return nil, context.Cause(ctx)
		transport.go#L1573: 				err := context.Cause(treq.ctx)
		transport.go#L1584: 		err := context.Cause(treq.ctx)
		transport.go#L2462: 			pc.cancelRequest(context.Cause(rc.treq.ctx))
		transport.go#L2958: 			pc.cancelRequest(context.Cause(req.ctx))