Exception Handler

When the app crashed, it display Force Close Dialog, this codebase can help for disabling that and customize to display toast with custom message. In application class, define BuildConfig class for the app module (it will provided useful data like app version when reporting) and the String resource to display when Exception occurred.

YourApplication.kt
class YourApplication : DevApplication() {

    override fun buildConfigClass() = BuildConfig::class.java

    override fun errorMessageResourceId() = R.string.acraError_id
}

// TODO: Fix documentation here