Aller au contenu principal

Result<T, E>

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

Union type representing either a successful result (Ok) or an error result (Err).


Type Parameters

T: T

The type of the success value

E: E

The type of the error value


Since

2.0.0