errorAlert
inline fun errorAlert(content: String = "", vararg buttonTypes: ButtonType = arrayOf(CLOSE), configuration: Alert.() -> Unit): Optional<ButtonType>
Show an error alert.
Return
selected alert button.
Parameters
content
alert message.
buttonTypes
alert buttons.
configuration
custom dialog action.