Type Alias: Result<T, E>
Result<
T
,E
>:object
|object
A type representing a value that may be an error.
Type Parameters
Type Parameter | Description |
---|---|
T | The type of the value to contain. |
E | The type of the error to contain. |
See
https://en.wikipedia.org/wiki/Result_type (opens in a new tab)