MCPcopy Create free account
hub / github.com/Effect-TS/effect / electFailures

Function electFailures

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

Source from the content-addressed store, hash-verified

323
324/** @internal */
325export const electFailures = <E>(self: Cause.Cause<E>): Cause.Cause<never> =>
326 match(self, {
327 onEmpty: empty,
328 onFail: die,
329 onDie: die,
330 onInterrupt: interrupt,
331 onSequential: sequential,
332 onParallel: parallel
333 })
334
335/** @internal */
336export const stripSomeDefects = dual<

Callers

nothing calls this directly

Calls 1

matchFunction · 0.70

Tested by

no test coverage detected