showErrorDialog

open fun showErrorDialog(data: UniErrorEvent, activity: FragmentActivity)

To show the default error dialog.

Parameters

data

the error information

activity

the activity to show the dialog