MCPcopy Create free account
hub / github.com/anchordotdev/cli / ErrorView

Method ErrorView

ui/driver.go:182–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180}
181
182func (d *Driver) ErrorView() string {
183 var out string
184 for _, mdl := range d.models {
185 out += mdl.View()
186 }
187 normalizedOut := spinnerReplacer.Replace(out)
188 normalizedOut = reAnsiStripper.ReplaceAllString(normalizedOut, "")
189 return normalizedOut
190}
191
192func (d *Driver) View() string {
193 var out string

Callers 1

ReportErrorFunction · 0.80

Calls 2

ReplaceMethod · 0.80
ViewMethod · 0.45

Tested by

no test coverage detected