var context.Canceled
17 uses
context (current package)
context.go#L167: var Canceled = errors.New("context canceled")
context.go#L242: return c, func() { c.cancel(true, Canceled, nil) }
context.go#L270: return c, func(cause error) { c.cancel(true, Canceled, cause) }
context.go#L336: a.cancel(true, Canceled, nil)
context.go#L647: return c, func() { c.cancel(false, Canceled, nil) }
context.go#L656: return c, func() { c.cancel(true, Canceled, nil) }
github.com/gotd/td/rpc
engine.go#L241: if errors.Is(err, context.Canceled) {
github.com/gotd/td/telegram
connect.go#L186: if closeErr := conn.Close(); !errors.Is(closeErr, context.Canceled) {
connect.go#L191: if closeErr := conn.Close(); !errors.Is(closeErr, context.Canceled) {
connect.go#L231: if err := g.Wait(); !errors.Is(err, context.Canceled) {
github.com/gotd/td/telegram/downloader
cdn_state_machine.go#L126: if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
cdn_state_machine.go#L163: if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
cdn_state_machine.go#L188: if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
net
net.go#L454: func (canceledError) Is(err error) bool { return err == context.Canceled }
net.go#L460: case context.Canceled:
net.go#L698: if errors.Is(err, context.DeadlineExceeded) || errors.Is(err, context.Canceled) {
net/http
h2_bundle.go#L1024: if !errors.Is(call.err, context.Canceled) && !errors.Is(call.err, context.DeadlineExceeded) {
 |
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. |