what-the-bank/sources/o/ses.java

37 lines
1.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
/* loaded from: classes3.dex */
public final class ses extends wRi {
private final yQF d;
@InterfaceC13391fZD
public ses(yRw yrw, yRw yrw2, yQF yqf) {
super(yrw, yrw2);
this.d = yqf;
}
public final AbstractC13163fSk<AnN> d(GHN ghn) {
return e(this.d.e(ghn));
}
public final AbstractC13163fSk<Boolean> d(soy soyVar) {
return e(this.d.c(soyVar).doOnError(new fSQ() { // from class: o.eJP
@Override // o.fSQ
public final void c(Object obj) {
Throwable th = (Throwable) obj;
if (th instanceof RetrofitException) {
RetrofitException retrofitException = (RetrofitException) th;
if (retrofitException.e == null || retrofitException.e.c == null || retrofitException.e.c.e == null) {
return;
}
if (retrofitException.e.c.e.equals("3006") || retrofitException.e.c.e.equals("3008")) {
Thread.sleep(3000L);
}
}
}
}));
}
}