MCPcopy Create free account
hub / github.com/driangle/taskmd / formatError

Function formatError

apps/cli/internal/cli/colors.go:169–171  ·  view source on GitHub ↗

formatError formats an error message in red.

(msg string, r *lipgloss.Renderer)

Source from the content-addressed store, hash-verified

167
168// formatError formats an error message in red.
169func formatError(msg string, r *lipgloss.Renderer) string {
170 return r.NewStyle().Foreground(lipgloss.Color("1")).Render(msg)
171}
172
173// formatWarning formats a warning message in yellow.
174func formatWarning(msg string, r *lipgloss.Renderer) string {

Callers 5

outputValidationTextFunction · 0.85
verifySummaryLineFunction · 0.85
formatVerifyStatusFunction · 0.85

Calls

no outgoing calls

Tested by 2