func github.com/gotd/td/tgerr.As
16 uses
github.com/gotd/td/tgerr (current package)
error.go#L131: func As(err error) (rpcErr *Error, ok bool) {
error.go#L140: if rpcErr, ok := As(err); ok {
error.go#L148: if rpcErr, ok := As(err); ok {
github.com/gotd/td/mtproto
bind.go#L254: if _, ok := tgerr.As(err); ok {
github.com/gotd/td/telegram
account_status.go#L68: rpcErr, ok := tgerr.As(err)
account_status.go#L221: rpcErr, ok := tgerr.As(err)
auth_lost.go#L66: rpcErr, ok := tgerr.As(err)
auth_lost.go#L241: if rpcErr, ok := tgerr.As(err); ok {
config_error.go#L47: rpcErr, ok := tgerr.As(initErr.Err)
invoke.go#L81: if rpcErr, ok := tgerr.As(err); ok && strings.HasSuffix(rpcErr.Type, "_MIGRATE") {
logout.go#L45: if rpcErr, ok := tgerr.As(err); ok && rpcErr.Code == 401 {
metrics.go#L176: if rpcErr, ok := tgerr.As(err); ok {
tdlib_json.go#L136: if rpcErr, ok := tgerr.As(err); ok {
github.com/gotd/td/telegram/auth/qrlogin
qrlogin.go#L260: if rpcErr, ok := tgerr.As(err); ok {
github.com/gotd/td/telegram/downloader
refresh.go#L27: rpcErr, ok := tgerr.As(err)
github.com/gotd/td/telegram/internal/manager
conn.go#L356: if rpcErr, ok := tgerr.As(err); ok {
 |
The pages are generated with Golds v0.8.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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |