ts-data-forge
    Preparing search index...

    Type Alias UnwrapErr<R>

    UnwrapErr: R extends Err<infer E> ? E : never

    Extracts the error value type E from a Result.Err<E>. If the Result is Result.Ok<S>, resolves to never.

    Type Parameters

    • R extends Result.Base

      The Result.Base type to unwrap.