Represents a failed computation with an error that originated the failure.
Gets the result of computation when successful, throws otherwise.
Gets the result of the computation when successful, or a given default value otherwise.
Gets the result of the computation when successful, or null otherwise.
null
Indicates whether the computation was successful.
Maps the result of this computation using the given f function.
Error that made the computation fail.
Gets the error of computation when failed, or null otherwise.