MCPcopy
hub / github.com/Effect-TS/effect / absurd

Function absurd

packages/effect/src/Arbitrary.ts:746–750  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

744}
745
746function absurd(message: string): LazyArbitrary<any> {
747 return () => {
748 throw new Error(message)
749 }
750}
751
752function getContextConstraints(description: Description): ArbitraryGenerationContext["constraints"] {
753 switch (description._tag) {

Callers 2

Arbitrary.tsFile · 0.70
folding.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected