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

Function failureMessage

e2e/src/scenario.ts:232–235  ·  view source on GitHub ↗
(cause: Cause.Cause<unknown>)

Source from the content-addressed store, hash-verified

230};
231
232const failureMessage = (cause: Cause.Cause<unknown>): string => {
233 const rendered = String(Cause.squash(cause));
234 return rendered.length > 2_000 ? `${rendered.slice(0, 2_000)}…` : rendered;
235};
236
237/** The *.test.ts file that called scenario(), from the registration stack. */
238const captureTestFile = (): string | undefined => {

Callers 1

scenarioFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected