We already have this functionality:
Code:
If Not (A(2)=0) RaiseError("A(2) Failed: " + @serror) EndIf



Is there a reason that this is not sufficient? Other than improving your golf score of course