2021-11-02 06:38:17 +00:00
|
|
|
package d0;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.k;
|
|
|
|
import d0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
/* compiled from: Result.kt */
|
2022-03-07 09:34:54 +00:00
|
|
|
/* loaded from: classes3.dex */
|
2021-08-03 07:33:18 +00:00
|
|
|
public final class l {
|
|
|
|
public static final Object createFailure(Throwable th) {
|
|
|
|
m.checkNotNullParameter(th, "exception");
|
|
|
|
return new k.b(th);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static final void throwOnFailure(Object obj) {
|
|
|
|
if (obj instanceof k.b) {
|
|
|
|
throw ((k.b) obj).exception;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|