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

Function failureMessage

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

Source from the content-addressed store, hash-verified

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

Callers 1

scenarioFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected