MCPcopy Index your code
hub / github.com/massCodeIO/massCode / getErrorMessage

Function getErrorMessage

integrations/clipper/src/background.ts:107–109  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

105}
106
107function getErrorMessage(error: unknown): string {
108 return error instanceof Error ? error.message : 'Unknown error'
109}

Callers 1

captureFromTabFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected