In my project i have to throw some business rule exception after searching for a value, if it is not present in search results.
For this i am using new UiPath.Core.BusinessRuleException(Variable) to throw business rule exception. To capture this a BusinessRuleException is present in catch block. when this error occurred bot is moving to Generic Exception instead of BusinessRuleException though BusinessRuleException order comes before Generic Exception in catch block.
Please suggest me any idea how to resolve this issue.