Result: Ok<T, E> | Err<T, E>

A Result represents success (Ok) or failure (Err).

Compatible with neverthrow

Type Parameters

  • T

    The type of the value contained in the Result for the success case

  • E

    The type of the error contained in the Result for the failure case