Result<'T, 'TError> Type
Helper type for error handling without exceptions.
Union cases
Union case |
Description
|
Full Usage:
Error ErrorValue
Parameters:
'TError
|
Represents an Error or a Failure. The code failed with a value of 'TError representing what went wrong.
|
Full Usage:
Ok ResultValue
Parameters:
'T
|
Represents an OK or a Successful result. The code succeeded with a value of 'T.
|