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

Function reportCauseFailure

packages/react/src/api/error-reporting.tsx:234–240  ·  view source on GitHub ↗
(
  report: FrontendErrorReporter,
  cause: Cause.Cause<unknown>,
  context: FrontendErrorContext,
)

Source from the content-addressed store, hash-verified

232};
233
234export const reportCauseFailure = (
235 report: FrontendErrorReporter,
236 cause: Cause.Cause<unknown>,
237 context: FrontendErrorContext,
238): void => {
239 report(toReportableError(cause, context), context);
240};

Callers

nothing calls this directly

Calls 2

reportFunction · 0.85
toReportableErrorFunction · 0.85

Tested by

no test coverage detected