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

Function getErrorMessage

integrations/clipper/src/popup.ts:384–386  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

382}
383
384function getErrorMessage(error: unknown): string {
385 return error instanceof Error ? error.message : 'Unknown error'
386}

Callers 3

initFunction · 0.70
persistDefaultTargetFunction · 0.70
captureCurrentPayloadFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected