Kotlin Wrappers API Reference
Toggle table of contents
js
wasmJs
web
Target filter
js
wasmJs
web
Switch theme
Search in API
kotlin-js
/
js.errors
/
TypeError
Type
Error
web
open
class
TypeError
(
val
message
:
String
?
=
definedExternally
,
options
:
ErrorOptions
?
=
definedExternally
)
:
JsError
,
Serializable
(
source
)
MDN Reference
Members
Members & Extensions
Constructors
Type
Error
Link copied to clipboard
web
constructor
(
message
:
String
?
=
definedExternally
,
options
:
ErrorOptions
?
=
definedExternally
)
Properties
message
Link copied to clipboard
web
open
override
val
message
:
String
?
MDN Reference
name
Link copied to clipboard
web
var
JsError
.
name
:
JsErrorName
Functions
to
Throwable
Link copied to clipboard
js
wasmJs
web
actual
inline
fun
JsError
.
toThrowable
(
)
:
Throwable
actual
fun
JsError
.
toThrowable
(
)
:
Throwable
expect
fun
JsError
.
toThrowable
(
)
:
Throwable