MCPcopy
hub / github.com/bombshell-dev/clack / error

Function error

packages/prompts/src/spinner.ts:198–198  ·  view source on GitHub ↗
(msg = '')

Source from the content-addressed store, hash-verified

196 const stop = (msg = ''): void => _stop(msg, 0);
197 const cancel = (msg = ''): void => _stop(msg, 1);
198 const error = (msg = ''): void => _stop(msg, 2);
199 // TODO (43081j): this will leave the initial S_BAR since we purposely
200 // don't erase that in `clearPrevMessage`. In future, we may want to treat
201 // `clear` as a special case and remove the bar too.

Callers

nothing calls this directly

Calls 1

_stopFunction · 0.85

Tested by

no test coverage detected