MCPcopy
hub / github.com/docker/docker-agent / ErrorCmd

Function ErrorCmd

pkg/tui/components/notification/notification.go:91–93  ·  view source on GitHub ↗
(text string)

Source from the content-addressed store, hash-verified

89}
90
91func ErrorCmd(text string) tea.Cmd {
92 return cmd(ShowMsg{Text: text, Type: TypeError})
93}
94
95// notificationItem represents a single notification
96type notificationItem struct {

Callers 15

handleBranchFromEditMethod · 0.92
handleForkSessionMethod · 0.92
handleSetSessionTitleMethod · 0.92
handleRegenerateTitleMethod · 0.92
handleDeleteSessionMethod · 0.92
handleExportSessionMethod · 0.92
handleUndoSnapshotMethod · 0.92
handleResetSnapshotMethod · 0.92
handleSwitchAgentMethod · 0.92
handleShowToolsDialogMethod · 0.92
handleRestartToolsetMethod · 0.92

Calls 1

cmdFunction · 0.85

Tested by

no test coverage detected