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

Method failCause

packages/effect/src/internal/mailbox.ts:191–193  ·  view source on GitHub ↗
(cause: Cause<E>)

Source from the content-addressed store, hash-verified

189 return this.done(core.exitFail(error))
190 }
191 failCause(cause: Cause<E>) {
192 return this.done(core.exitFailCause(cause))
193 }
194 unsafeDone(exit: Exit<void, E>): boolean {
195 if (this.state._tag !== "Open") {
196 return false

Callers 15

orderedFunction · 0.80
groupedFunction · 0.80
findByIdFunction · 0.80
void_Function · 0.80
makeWithTransactionFunction · 0.80
fromWritableChannelFunction · 0.80
fromDuplexFunction · 0.80
handleCauseFunction · 0.80
errorFunction · 0.80
packFunction · 0.80
unpackFunction · 0.80
errorFunction · 0.80

Calls 1

doneMethod · 0.95

Tested by

no test coverage detected