mini-effect
    Preparing search index...

    Type Alias inferError<T>

    inferError: T extends PipeableThunk<any, infer E>
        ? E
        : T extends WrapEffect<any, infer E>
            ? E
            : T extends Effect<any, infer E> ? E : never

    Extracts the error type from an Effect, WrapEffect, or PipeableThunk.

    Type Parameters

    • T

      The effect or pipeable type to extract the error type from