Header menu logo FSharp.Core

Result<'T, 'TError> Type

Helper type for error handling without exceptions.

Union cases

Union case Description

Error ErrorValue

Full Usage: Error ErrorValue

Parameters:
    ErrorValue : 'TError

Represents an Error or a Failure. The code failed with a value of 'TError representing what went wrong.

ErrorValue : 'TError

Ok ResultValue

Full Usage: Ok ResultValue

Parameters:
    ResultValue : 'T

Represents an OK or a Successful result. The code succeeded with a value of 'T.

ResultValue : 'T

Type something to start searching.