register

fun register(throwableClass: Class<out Throwable>, recoverableType: RecoverableType)

Registers (or overwrites) the RecoverableType for the given exception class.

Parameters

throwableClass

the exception class to classify

recoverableType

the recoverability classification