ts-fortress
    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 UnknownResult

      The UnknownResult type to unwrap.