github.com/gotd/td/internal/proto/codec.ProtocolErr.Code (field)
6 uses
github.com/gotd/td/internal/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/internal/exchange
proto.go#L67: protocolErr.Code == codec.CodeAuthKeyNotFound {
github.com/gotd/td/internal/mtproto
read.go#L181: if errors.As(err, &protoErr) && protoErr.Code == codec.CodeAuthKeyNotFound {
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. |