returnsFailure

Function call returns Result.failure with error.