Result returned in case of Success.
The result value.
Executes a block of code when the result is Error, otherwise does nothing.
Executes a block of code when the result is Success, otherwise does nothing.
Returns the result value in case of Success, otherwise returns the other value.
Returns the result value in case of Success, otherwise returns the result of the block of code.
Returns the result value in case of Success, otherwise returns null.
null
Returns the result value in case of Success, otherwise throws an exception related to the error.