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))
![]() |
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. |