Throw Exception When Email ID Doesn't Match Format

Hi Guys,
I am working with “Send SMTP Mail Message”. I want to throw an exception when an incorrect email format is given. However, I am not sure what type of exception will be able to catch that.

This is my workflow. I have tried System exception but it was not able to catch the error. I hope I can get some help with this issue. Thanks


Check below

Make the Exception type as marked and it should resolved

Mark as solution if this helps