MCCoroutineExceptionEvent

interface MCCoroutineExceptionEvent

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.

Types

Companion
Link copied to clipboard
object Companion

Functions

onMCCoroutineException
Link copied to clipboard
abstract fun onMCCoroutineException(throwable: Throwable, entryPoint: Any): Boolean

Gets called from MCCoroutine with the occurred throwable in the given scope entryPoint.