MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / CreateErrorDialog

Function CreateErrorDialog

internal/ui/components/dialogs_creators.go:102–104  ·  view source on GitHub ↗

CreateErrorDialog creates an error dialog.

(title, message string, onClose func())

Source from the content-addressed store, hash-verified

100
101// CreateErrorDialog creates an error dialog.
102func 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.
107func CreateErrorDialogWithScrollableText(title, message string, onClose func()) *tview.Modal {

Callers 5

showWizardModalFunction · 0.85
handleVNCOutcomeMethod · 0.85
openNodeVNCMethod · 0.85
openVMVNCMethod · 0.85
openVMShellMethod · 0.85

Calls 1

createBaseModalFunction · 0.85

Tested by

no test coverage detected