MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / RenderError

Function RenderError

tui/common.go:93–98  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

91}
92
93func RenderError(err error) string {
94 if err == nil {
95 return ""
96 }
97 return errorStyleTUI.Render("✗ Error: " + err.Error())
98}
99
100func RenderErrorMessage(message string) string {
101 if message == "" {

Callers 2

PrintErrorFunction · 0.92
FormatErrorFunction · 0.92

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected