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

Function makeUnimplemented

packages/effect/src/internal/layer.ts:708–717  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

706 )
707
708const makeUnimplemented = (error: Error) => {
709 const dead = core.die(error)
710 function unimplemented() {
711 return dead
712 }
713 // @effect-diagnostics-next-line floatingEffect:off
714 Object.assign(unimplemented, dead)
715 Object.setPrototypeOf(unimplemented, Object.getPrototypeOf(dead))
716 return unimplemented
717}
718
719/** @internal */
720export const map = dual<

Callers 1

getFunction · 0.85

Calls 1

dieMethod · 0.65

Tested by

no test coverage detected