kotest-assertions / io.kotest.assertions / Failures / clean

clean

fun clean(throwable: Throwable): Throwable

JVM only: If shouldRemoveKotestElementsFromStacktrace is true, the stacktrace will be reduced to the user-code StackTrace only.