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

Function rawError

packages/react/src/api/error-reporting.test.ts:30–30  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

28 */
29// oxlint-disable-next-line executor/no-error-constructor, executor/no-redundant-error-factory -- boundary: fixture for the raw-Error adapter under test
30const rawError = (message: string): Error => new Error(message);
31
32const captureReports = (): {
33 readonly calls: Array<{ error: unknown; context: FrontendErrorContext }>;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected