Executes block if this is an ApiResult.Error, otherwise returns ApiResult.value.
Loading will result in NotFinishedException