Hyperlinkv0.8.0-beta.28

Layer

Layer.Errortypeeffect/Layer.ts:165
Error<T>

Extracts the error type (E) from a Layer type.

When to use

Use to derive a layer construction error type for helper types, wrappers, or APIs that preserve a layer failure channel.

utility typesSuccessServices
Source effect/Layer.ts:1651 lines
export type Error<T extends Any> = T extends Layer<infer _ROut, infer _E, infer _RIn> ? _E : never
Referenced by 11 symbols