MCPcopy Index your code
hub / github.com/Effect-TS/effect / stripFailures

Function stripFailures

packages/effect/src/internal/cause.ts:313–321  ·  view source on GitHub ↗
(self: Cause.Cause<E>)

Source from the content-addressed store, hash-verified

311
312/** @internal */
313export const stripFailures = <E>(self: Cause.Cause<E>): Cause.Cause<never> =>
314 match(self, {
315 onEmpty: empty,
316 onFail: () => empty,
317 onDie: die,
318 onInterrupt: interrupt,
319 onSequential: sequential,
320 onParallel: parallel
321 })
322
323/** @internal */
324export const electFailures = <E>(self: Cause.Cause<E>): Cause.Cause<never> =>

Callers

nothing calls this directly

Calls 1

matchFunction · 0.70

Tested by

no test coverage detected