If I want Step c# return to error, what should I do
my code is:
if (System.Int32.Parse(project.Variables["a"].Value)<2)
{
Tab tab = instance.ActiveTab;
stringpageurl=tab.URL;
tab.Navigate(pageurl, "");
if (tab.IsBusy) tab.WaitDownloading();
int a = System.Int32.Parse(project.Variables["a"].Value)+1;
return a ;
}
else
{
return t;
}
When if {} else c# starts to execute the Step error, execute
What value should I return to realize this purpose.

my code is:
if (System.Int32.Parse(project.Variables["a"].Value)<2)
{
Tab tab = instance.ActiveTab;
stringpageurl=tab.URL;
tab.Navigate(pageurl, "");
if (tab.IsBusy) tab.WaitDownloading();
int a = System.Int32.Parse(project.Variables["a"].Value)+1;
return a ;
}
else
{
return t;
}
When if {} else c# starts to execute the Step error, execute

What value should I return to realize this purpose.