MCPcopy Create free account
hub / github.com/Roy3838/Observer / errorText

Function errorText

app/src/utils/statusPip.ts:285–285  ·  view source on GitHub ↗
(e: unknown)

Source from the content-addressed store, hash-verified

283}
284
285const errorText = (e: unknown): string => (e instanceof Error ? `${e.name}: ${e.message}` : String(e));
286
287/** To the app's Logger, and to the native log so it shows up in the device's syslog. */
288function report(pip: Pip, message: string): void {

Callers 3

prepareStatusPipFunction · 0.85
startStatusPipFunction · 0.85
openCameraIfNoScreenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected