MCPcopy Index your code
hub / github.com/Effect-TS/effect / fail

Method fail

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

Source from the content-addressed store, hash-verified

192 return remaining
193 }
194 fail(error: E) {
195 return this.done(core.exitFail(error))
196 }
197 failCause(cause: Cause<E>) {
198 return this.done(core.exitFailCause(cause))
199 }

Callers

nothing calls this directly

Calls 1

doneMethod · 0.95

Tested by

no test coverage detected