exceptionCaught

abstract fun exceptionCaught(index: Int, exception: Exception)

This function is triggered whenever there's an exception caught during npc avatar processing.

Parameters

index

the index of the npc that had an exception during its processing.

exception

the exception that was caught during a npc's avatar processing