Error

Common
JS
Native
1.0
JVM
1.1
typealias Error = Error
(source)

Constructors

Common
JS
Native
1.0

<init>

<init>()
<init>(message: String?)
<init>(message: String?, cause: Throwable?)
<init>(cause: Throwable?)

Inherited Functions

Native
1.3

getStackTrace

Returns an array of stack trace strings representing the stack trace pertaining to this throwable.

fun getStackTrace(): Array<String>
Native
1.3

printStackTrace

Prints the detailed description of this throwable to the standard error output.

fun printStackTrace()

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>

Inheritors

AssertionError

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

NotImplementedError

An exception is thrown to indicate that a method body remains to be implemented.

class NotImplementedError : Error
Native
1.3

OutOfMemoryError

open class OutOfMemoryError : Error