MCCoroutine Exception Event
class MCCoroutineExceptionEvent(plugin: <ERROR CLASS>, exception: Throwable)
Content copied to clipboard
A Bukkit 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(plugin: <ERROR CLASS>, exception: Throwable)
Content copied to clipboard
Types
Functions
get Handlers
Link copied to clipboard
Returns all handles.
is Cancelled
Link copied to clipboard
Gets if this event is cancelled.
set Cancelled
Link copied to clipboard
Sets the event as cancelled or not. If the event is cancelled the exception is seen as an uncaught exception. Do only cancel this event if you want to log the exceptions on your own.