Article Megumi Kakechi · Dec 5 1m read How to raise a custom error InterSystems FAQ rubric If you want to raise an arbitrary custom error in a TRY block, you can pass an exception with a throw as follows. In the following example, a custom error is raised if Stcount is less than 1. #ObjectScript #Tips & Tricks #InterSystems IRIS #Caché #Ensemble #InterSystems IRIS for Health 4 0 0 103