Source File
init_error.go
Belonging Package
github.com/gotd/td/telegram/internal/manager
package manager// InitError is returned by Conn.Run when the initConnection request// (invokeWithLayer(initConnection(help.getConfig))) fails.//// It lets callers tell a rejected connection setup apart from errors of// the transport, the key exchange or the setup callback.type InitError struct {Err error}// Error implements error.func ( *InitError) () string {return "initConnection: " + .Err.Error()}// Unwrap returns the underlying error.func ( *InitError) () error {return .Err}
![]() |
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. |