- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
34 lines
1.5 KiB
Java
34 lines
1.5 KiB
Java
package kotlinx.coroutines;
|
|
|
|
import kotlin.coroutines.CoroutineContext;
|
|
import kotlin.jvm.functions.Function2;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public interface CoroutineExceptionHandler extends CoroutineContext.Element {
|
|
public static final Key Key = Key.$$INSTANCE;
|
|
|
|
public static final class Key implements CoroutineContext.Key {
|
|
public static final /* synthetic */ Key $$INSTANCE = new Key();
|
|
}
|
|
|
|
void handleException(CoroutineContext coroutineContext, Throwable th);
|
|
|
|
public static final class DefaultImpls {
|
|
public static Object fold(CoroutineExceptionHandler coroutineExceptionHandler, Object obj, Function2 function2) {
|
|
return CoroutineContext.Element.DefaultImpls.fold(coroutineExceptionHandler, obj, function2);
|
|
}
|
|
|
|
public static CoroutineContext.Element get(CoroutineExceptionHandler coroutineExceptionHandler, CoroutineContext.Key key) {
|
|
return CoroutineContext.Element.DefaultImpls.get(coroutineExceptionHandler, key);
|
|
}
|
|
|
|
public static CoroutineContext minusKey(CoroutineExceptionHandler coroutineExceptionHandler, CoroutineContext.Key key) {
|
|
return CoroutineContext.Element.DefaultImpls.minusKey(coroutineExceptionHandler, key);
|
|
}
|
|
|
|
public static CoroutineContext plus(CoroutineExceptionHandler coroutineExceptionHandler, CoroutineContext coroutineContext) {
|
|
return CoroutineContext.Element.DefaultImpls.plus(coroutineExceptionHandler, coroutineContext);
|
|
}
|
|
}
|
|
}
|