epoxy-adapter / com.airbnb.epoxy / EpoxyController / ExceptionHandler

ExceptionHandler

interface ExceptionHandler

Functions

onException

abstract fun onException(controller: EpoxyController, exception: RuntimeException): Unit

This is called when recoverable exceptions happen at runtime. They can be ignored and Epoxy will recover, but you can override this to be aware of when they happen.