processRecoverableError

public final Unit processRecoverableError(Activity activity, ErrorDetails recoverableError, Function0<Unit> positiveListener, Function0<Unit> negativeListener)

Show a recoverable error dialog with a message based on the error details

Parameters

activity

The activity

recoverableError

The recoverable error details

positiveListener

The lambda to run when the positive button is clicked

negativeListener

The lambda to run when the negative button is clicked