MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / contextLabel

Function contextLabel

packages/react/src/api/error-reporting.tsx:53–54  ·  view source on GitHub ↗
(context: FrontendErrorContext)

Source from the content-addressed store, hash-verified

51// ---------------------------------------------------------------------------
52
53const contextLabel = (context: FrontendErrorContext): string =>
54 `${context.surface}/${context.action}`;
55
56const hasText = (value: string | undefined): value is string =>
57 typeof value === "string" && value.trim().length > 0;

Callers 2

describeUnknownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected