AssertionError

Common
JS
Native
1.0
open class AssertionError : Error
JVM
1.1
typealias AssertionError = AssertionError

Constructors

<init>

JS
1.1
AssertionError(message: String?)
Native
1.3
AssertionError(cause: Throwable?)
Common
JS
Native
1.0
<init>()
Common
JS
Native
1.0
<init>(message: Any?)
JS
Native
1.1
<init>(message: String?, cause: Throwable?)

Extension Functions

Native
1.3

getStackTraceAddresses

Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.

fun Throwable.getStackTraceAddresses(): List<Long>