Result type returned when an operation has failed.
Object identifying the error that occurred.
If the result is a success, execute the lambda with the returned value.