func github.com/go-faster/errors.Is
33 uses
github.com/go-faster/errors (current package)
wrap.go#L114: func Is(err, target error) bool {
github.com/gotd/td/mtproto
read.go#L75: if errors.Is(err, errRejected) {
github.com/gotd/td/pool
pool.go#L250: if errors.Is(err, ErrConnDead) {
pool_conn.go#L22: return errors.Is(err, ErrConnDead) || errors.Is(err, rpc.ErrEngineClosed)
github.com/gotd/td/rpc
engine.go#L141: if err != nil && !errors.Is(err, retryCtx.Err()) {
engine.go#L241: if errors.Is(err, context.Canceled) {
github.com/gotd/td/session/tdesktop
file.go#L44: if errors.Is(err, fs.ErrNotExist) ||
file.go#L45: errors.Is(err, fs.ErrPermission) {
file.go#L53: if errors.Is(err, io.ErrUnexpectedEOF) {
github.com/gotd/td/telegram
builder.go#L132: if errors.Is(err, io.EOF) || errors.Is(err, io.ErrUnexpectedEOF) {
cdn_conn_dead.go#L16: if errors.Is(err, exchange.ErrKeyFingerprintNotFound) {
cdn_conn_dead.go#L40: if !errors.Is(err, mtproto.ErrPFSDropKeysRequired) {
connect.go#L96: if errors.Is(err, exchange.ErrKeyFingerprintNotFound) {
connect.go#L186: if closeErr := conn.Close(); !errors.Is(closeErr, context.Canceled) {
connect.go#L191: if closeErr := conn.Close(); !errors.Is(closeErr, context.Canceled) {
connect.go#L231: if err := g.Wait(); !errors.Is(err, context.Canceled) {
invoke.go#L127: return errors.Is(err, pool.ErrConnDead) || errors.Is(err, rpc.ErrEngineClosed)
pfs.go#L15: if !errors.Is(err, mtproto.ErrPFSDropKeysRequired) {
pfs.go#L34: if !errors.Is(err, mtproto.ErrPFSDropKeysRequired) {
session.go#L24: if errors.Is(err, session.ErrNotFound) {
session.go#L70: if errors.Is(err, session.ErrNotFound) {
github.com/gotd/td/telegram/auth
flow.go#L74: if errors.Is(signInErr, ErrPasswordAuthNeeded) {
github.com/gotd/td/telegram/downloader
cdn_state_machine.go#L126: if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
cdn_state_machine.go#L163: if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
cdn_state_machine.go#L188: if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
retry.go#L21: return errors.Is(err, exchange.ErrKeyFingerprintNotFound)
retry.go#L41: if tgerr.Is(err, tg.ErrTimeout) || errors.Is(err, context.DeadlineExceeded) {
 |
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. |