Represents the outcome of an operation that can either succeed or fail. It is a union of ResultOk and ResultErr.
The type of the success value.
A string literal type for the error label.
The type of the source error.
Represents the outcome of an operation that can either succeed or fail. It is a union of ResultOk and ResultErr.