app / de.uniks.codliners.stock_simulator / java.lang.Exception

Extensions for java.lang.Exception

extractErrorMessageResource

Utility function for choosing an Int (which should be a string resource id) depending on the receiver and parameters.

fun <ExpectedType> Exception.extractErrorMessageResource(default: Int, provider: () -> Int): Int