Source File
errors.go
Belonging Package
github.com/gotd/td/session/tdesktop
package tdesktopimport ()// WrongMagicError is returned when tdesktop data file// has wrong magic header.type WrongMagicError struct {Magic [4]byte}// Error implements error.func ( *WrongMagicError) () string {return fmt.Sprintf("wrong magic %+v", .Magic)}var (// ErrKeyInfoDecrypt is returned when key data decrypt fails.// It can happen if passed passcode is wrong.ErrKeyInfoDecrypt = errors.New("key data decrypt")// ErrNoAccounts reports that decoded tdata does not contain any accounts info.ErrNoAccounts = errors.New("tdesktop data does not contain accounts"))
![]() |
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. |