open static fun setGlobalExceptionHandler(@NonNull globalExceptionHandler: EpoxyController.ExceptionHandler): Unit
Set a callback to be notified when a recoverable exception occurs at runtime. By default these are ignored and Epoxy will recover, but you can override this to be aware of when they happen.
For example, you could choose to rethrow the exception in development builds, or log them in production.
A common use for this is being aware of duplicates when #setFilterDuplicates(boolean) is enabled.
This callback will be used in all EpoxyController classes. If you would like specific handling in a certain controller you can override #onExceptionSwallowed(RuntimeException) in that controller.