MCPcopy
hub / github.com/Effect-TS/effect / failCause

Method failCause

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

Source from the content-addressed store, hash-verified

195 return this.done(core.exitFail(error))
196 }
197 failCause(cause: Cause<E>) {
198 return this.done(core.exitFailCause(cause))
199 }
200 unsafeDone(exit: Exit<void, E>): boolean {
201 if (this.state._tag !== "Open") {
202 return false

Callers 15

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

Calls 1

doneMethod · 0.95

Tested by

no test coverage detected