Error

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

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

fun getStackTrace(): Array<String>
Native
1.3

printStackTrace

fun printStackTrace()
Native
1.3

toString

Returns a string representation of the object.

open fun toString(): String

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