create

expect fun create(message: String, atriumErrorAdjuster: AtriumErrorAdjuster): AtriumError(source)

Creates an AtriumError and adjusts it with the given atriumErrorAdjuster before it is returned.

Return

The newly created AtriumError

actual fun create(message: String, atriumErrorAdjuster: AtriumErrorAdjuster): AtriumError(source)

Creates an AtriumError and adjusts it with the given atriumErrorAdjuster before it is returned (this might filter the stack).

As side notice, stack is a property of Error which is currently not visible in Kotlin.

Return

The newly created AtriumError

actual fun create(message: String, atriumErrorAdjuster: AtriumErrorAdjuster): AtriumError(source)