apidocs / com.nimmsta.core.android.exception / kotlin.Throwable

Extensions for kotlin.Throwable

developerMessage

Extension function. See NIMMSTAExceptionInfo.developerMessage for description.

fun Throwable.developerMessage(): String

handle

Handles the error, currently in the Analytics Interface. TODO: Should we do more handling like allowing one to register a generic error handler with this?

fun Throwable.handle(): Unit

isCritical

Extension function. See NIMMSTAExceptionInfo.isCritical for description.

fun Throwable.isCritical(): Boolean

isIgnorable

Extension function. See NIMMSTAExceptionInfo.isIgnorable for description.

fun Throwable.isIgnorable(): Boolean

isUserPresentable

Extension function. See NIMMSTAExceptionInfo.isUserPresentable for description.

fun Throwable.isUserPresentable(): Boolean

userMessage

Extension function. See NIMMSTAExceptionInfo.userMessage for description.

fun Throwable.userMessage(): String