MCCoroutine Exception Event
class MCCoroutineExceptionEvent(extension: <ERROR CLASS>?, exception: Throwable)
Content copied to clipboard
A Minestom 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.
Constructors
MCCoroutineExceptionEvent
Link copied to clipboard
fun MCCoroutineExceptionEvent(extension: <ERROR CLASS>?, exception: Throwable)
Content copied to clipboard
Functions
is Cancelled
Link copied to clipboard
Gets if the Event should be cancelled or not.
set Cancelled
Link copied to clipboard
Marks the Event as cancelled or not.