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

Function dieMessage

packages/effect/src/internal/stm/core.ts:629–629  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

627
628/** @internal */
629export const dieMessage = (message: string): STM.STM<never> => dieSync(() => new Cause.RuntimeException(message))
630
631/** @internal */
632export const dieSync = (evaluate: LazyArg<unknown>): STM.STM<never> => {

Callers

nothing calls this directly

Calls 1

dieSyncFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…