Elide API
Toggle table of contents
1.0.0-beta1
jvm
Platform filter
jvm
Switch theme
Search in API
Elide API
graalvm
/
elide.runtime.intrinsics.js.node
/
AssertAPI
/
throws
throws
abstract
fun
throws
(
fn
:
Any
,
error
:
Any
?
=
null
,
message
:
String
?
=
null
)
Assert:
throws(fn, error, message)
abstract
fun
throws
(
error
:
Any
?
=
null
,
message
:
String
?
=
null
,
fn
:
(
)
->
Unit
)
Assert:
throws(error, message, fn)