func github.com/go-faster/errors.Is
40 uses
github.com/go-faster/errors (current package)
wrap.go#L120: func Is(err, target error) bool {
github.com/gotd/td/mtproto
read.go#L117: if errors.Is(err, errRejected) {
rpc.go#L22: if errors.Is(err, errSessionReset) {
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#L155: case err != nil && !errors.Is(err, retryCtx.Err()):
engine.go#L259: 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#L132: if errors.Is(err, exchange.ErrKeyFingerprintNotFound) {
connect.go#L280: if closeErr := conn.Close(); !errors.Is(closeErr, context.Canceled) {
connect.go#L285: if closeErr := conn.Close(); !errors.Is(closeErr, context.Canceled) {
connect.go#L342: if err := g.Wait(); !errors.Is(err, context.Canceled) {
invoke.go#L139: timedOut := err != nil && ctx.Err() == nil && errors.Is(context.Cause(reqCtx), errNoResponse)
invoke.go#L208: return errors.Is(err, pool.ErrConnDead) || errors.Is(err, rpc.ErrEngineClosed)
lifecycle.go#L168: if lifeErr := o.lifetime.Err(); lifeErr != nil && errors.Is(err, lifeErr) {
pfs.go#L15: if !errors.Is(err, mtproto.ErrPFSDropKeysRequired) {
pfs.go#L45: if !errors.Is(err, mtproto.ErrPFSDropKeysRequired) {
session.go#L25: if errors.Is(err, session.ErrNotFound) {
session.go#L140: if errors.Is(err, session.ErrNotFound) {
session.go#L293: 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#L127: if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
cdn_state_machine.go#L164: if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
cdn_state_machine.go#L189: if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
cdn_state_machine.go#L296: if errors.Is(err, ErrHashMismatch) {
master.go#L63: if errors.Is(err, ErrFileNotFound) {
retry.go#L23: return errors.Is(err, exchange.ErrKeyFingerprintNotFound)
retry.go#L43: if tgerr.Is(err, tg.ErrTimeout) || errors.Is(err, context.DeadlineExceeded) {
verify_local.go#L55: if _, err := r.ReadAt(data, hash.Offset); err != nil && !errors.Is(err, io.EOF) {
 |
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. |