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

Method constructor

packages/effect/src/internal/core.ts:143–150  ·  view source on GitHub ↗
(
    failures: ReadonlyArray<
      Cause.Fail<E> | Cause.Die | Cause.Interrupt
    >
  )

Source from the content-addressed store, hash-verified

141 Cause.Fail<E> | Cause.Die | Cause.Interrupt
142 >
143 constructor(
144 failures: ReadonlyArray<
145 Cause.Fail<E> | Cause.Die | Cause.Interrupt
146 >
147 ) {
148 this[CauseTypeId] = CauseTypeId
149 this.reasons = failures
150 }
151 pipe() {
152 return pipeArguments(this, arguments)
153 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected