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

Function satisfiesErrorType

packages/effect/src/Layer.ts:2416–2416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2414 */
2415export const satisfiesErrorType =
2416 <E>() => <ROut, E2 extends E, RIn>(layer: Layer<ROut, E2, RIn>): Layer<ROut, E2, RIn> => layer
2417
2418/**
2419 * Ensures that a layer's requirements type extends a given type `R`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected