Is there any way to throw a bpmn error via feel expression in a script?

Hi @Anmol_Gupta
You can use an exclusive gateway following the script task. (In the case of simple FEEL expression, there is no need to have a script task. You can define the condition on the outgoing flow itself)