github.com/gotd/td/proto/codec.ProtocolErr.Code (field)
6 uses
github.com/gotd/td/proto/codec (current package)
errors.go#L28: Code int32
errors.go#L32: switch p.Code {
errors.go#L40: return fmt.Sprintf("protocol error %d", p.Code)
errors.go#L75: return &ProtocolErr{Code: -code}
github.com/gotd/td/exchange
proto.go#L67: protocolErr.Code == codec.CodeAuthKeyNotFound {
github.com/gotd/td/mtproto
read.go#L186: if errors.As(err, &protoErr) && protoErr.Code == codec.CodeAuthKeyNotFound {
![]() |
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. |