Pokedex
    Preparing search index...

    Type Alias Result<E, T>

    Result: Success<T> | Failure<E>

    Union type representing the result of an operation that can either succeed or fail

    Type Parameters

    • E

      The type of the error in case of failure

    • T

      The type of the data in case of success