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

Function makeFailReason

packages/effect/src/Cause.ts:550–550  ·  view source on GitHub ↗
(error: E)

Source from the content-addressed store, hash-verified

548 * @since 4.0.0
549 */
550export const makeFailReason = <E>(error: E): Fail<E> => new core.Fail(error)
551
552/**
553 * Creates a standalone `Die` reason (not wrapped in a `Cause`).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected