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

Function reportCauseFailure

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

Source from the content-addressed store, hash-verified

241};
242
243export const reportCauseFailure = (
244 report: FrontendErrorReporter,
245 cause: Cause.Cause<unknown>,
246 context: FrontendErrorContext,
247): void => {
248 report(toReportableError(cause, context), context);
249};

Callers

nothing calls this directly

Calls 2

toReportableErrorFunction · 0.85
reportFunction · 0.50

Tested by

no test coverage detected