Kactoos

kactoos-jvm / nnl.rocks.kactoos.scalar / FallbackFrom / support

support

fun support(target: Class<out Throwable>): Int

Calculate level of support of the given exception type.

Parameters

target - Exception type

Return Level of support: greater or equals to 0 if the target is supported and Integer.MIN_VALUE otherwise

See Also

InheritanceLevel