icerockdev / moko-errors

Automated exceptions handler for mobile (android & ios) Kotlin Multiplatform development.
https://moko.icerock.dev/
Apache License 2.0
52 stars 6 forks source link

Execute the error presenter manually #10

Closed Tetraquark closed 3 years ago

Tetraquark commented 3 years ago

It's will be useful possibility to manually execute error presenter manually for external exceptions, something like this:

fun handleException(exception: Exception) {
    excehptionHandler.showError(cause = exception) // manually runs error presesnter
}