assertk.assertions / stackTrace

stackTrace

fun <ERROR CLASS><Throwable>.stackTrace(): <ERROR CLASS>

Platform and version requirements: JVM


fun Assert<Throwable>.stackTrace(): Assert<List<String>>

Returns an assert on the throwable's stack trace.