EitherFailure<T> typedef

EitherFailure<T> = Either<Failure, T>

A type alias for an Either that has Failure as its Left type and T as its Right type.

Typically used for functions that may fail and return a result of type T on success.

Implementation

typedef EitherFailure<T> = Either<Failure, T>;