Source File
errors.go
Belonging Package
github.com/gotd/td/internal/rpc
package rpcimport ()// RetryLimitReachedErr means that server does not acknowledge request// after multiple retries.type RetryLimitReachedErr struct {Retries int}func ( *RetryLimitReachedErr) () string {return fmt.Sprintf("retry limit reached after %d attempts", .Retries)}// Is reports whether err is RetryLimitReachedErr.func ( *RetryLimitReachedErr) ( error) bool {, := .(*RetryLimitReachedErr)return}// ErrEngineClosed means that engine was closed.var ErrEngineClosed = errors.New("engine was closed")
![]() |
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. |