discord-jadx/app/src/main/java/com/discord/stores/utilities/RestCallStateKt$executeRequ...

31 lines
1.1 KiB
Java

package com.discord.stores.utilities;
import com.discord.utilities.error.Error;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: RestCallState.kt */
public final class RestCallStateKt$executeRequest$2 extends o implements Function1<Error, Unit> {
public final /* synthetic */ Function1 $callback;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public RestCallStateKt$executeRequest$2(Function1 function1) {
super(1);
this.$callback = function1;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(Error error) {
invoke(error);
return Unit.a;
}
public final void invoke(Error error) {
m.checkNotNullParameter(error, "error");
this.$callback.invoke(new Failure(error));
}
}