Wrapper that converts null results to errors for retry logic.
The async function to execute.
Error message if the function returns null.
The result of the function if not null.
Error if the function returns null.
Wrapper that converts null results to errors for retry logic.