diff --git a/mccoroutine-fabric-api/src/main/java/com/github/shynixn/mccoroutine/fabric/MCCoroutineExceptionEvent.kt b/mccoroutine-fabric-api/src/main/java/com/github/shynixn/mccoroutine/fabric/MCCoroutineExceptionEvent.kt index 804aea02..e4bf133a 100644 --- a/mccoroutine-fabric-api/src/main/java/com/github/shynixn/mccoroutine/fabric/MCCoroutineExceptionEvent.kt +++ b/mccoroutine-fabric-api/src/main/java/com/github/shynixn/mccoroutine/fabric/MCCoroutineExceptionEvent.kt @@ -7,6 +7,7 @@ import net.fabricmc.fabric.api.event.EventFactory * A Fabric event which is called when an exception is raised in one of the coroutines managed by MCCoroutine. * Cancelling this exception causes the error to not get logged and offers to possibility for custom logging. */ +@FunctionalInterface interface MCCoroutineExceptionEvent { companion object { val EVENT: Event =