CreateErrorDialog creates an error dialog.
(title, message string, onClose func())
| 100 | |
| 101 | // CreateErrorDialog creates an error dialog. |
| 102 | func CreateErrorDialog(title, message string, onClose func()) *tview.Modal { |
| 103 | return createBaseModal(title, message, theme.Colors.Error, onClose) |
| 104 | } |
| 105 | |
| 106 | // CreateErrorDialogWithScrollableText creates an error dialog with scrollable text for long URLs. |
| 107 | func CreateErrorDialogWithScrollableText(title, message string, onClose func()) *tview.Modal { |
no test coverage detected