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

Method fail

packages/effect/src/internal/mailbox.ts:188–190  ·  view source on GitHub ↗
(error: E)

Source from the content-addressed store, hash-verified

186 return remaining
187 }
188 fail(error: E) {
189 return this.done(core.exitFail(error))
190 }
191 failCause(cause: Cause<E>) {
192 return this.done(core.exitFailCause(cause))
193 }

Callers

nothing calls this directly

Calls 1

doneMethod · 0.95

Tested by

no test coverage detected