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

Function die

packages/effect/src/Micro.ts:970–970  ·  view source on GitHub ↗
(defect: unknown)

Source from the content-addressed store, hash-verified

968 * @category constructors
969 */
970export const die = (defect: unknown): Micro<never> => exitDie(defect)
971
972/**
973 * Creates a `Micro` effect that will fail with the lazily evaluated error.

Callers 2

fnApplyFunction · 0.70
promiseFunction · 0.70

Calls 1

exitDieFunction · 0.70

Tested by

no test coverage detected