github.com/gotd/td/tgerr.Error.Type (field)
9 uses
github.com/gotd/td/tgerr (current package)
error.go#L18: Type string // FLOOD_WAIT
error.go#L38: return e.Type == t
error.go#L82: e.Type = e.Message
error.go#L112: e.Type = strings.Join(nonDigit, "_")
error.go#L116: if e.Type != e.Message {
error.go#L117: return fmt.Sprintf("rpc error code %d: %s (%d)", e.Code, e.Type, e.Argument)
error.go#L124: if errors.As(err, &rpcErr) && rpcErr.Type == t {
github.com/gotd/td/telegram
invoke.go#L57: if rpcErr, ok := tgerr.As(err); ok && strings.HasSuffix(rpcErr.Type, "_MIGRATE") {
invoke.go#L60: zap.String("error_type", rpcErr.Type),
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |