assertk / assertk.assertions / hasNoCause

hasNoCause

(common, jvm) fun Assert<Throwable>.hasNoCause(): Unit

Asserts the throwable has no cause.

See Also

hasCause