RaiseError
Top  Previous  Next


Throws an error with specified error code and message

·In GUI mode: the script stops and the normal error dialog with "Abort", "Retry" and "Ignore" buttons is displayed  
·From the command prompt: the script stops with the error code specified  

Category
General

Script section
All

RaiseError ErrorCode, ErrorMessage

ErrorCode
Error code  

ErrorMessage
Error message  

Example
Data.Loop   
 If %Col1%= Then   
  RaiseError 24, Column 1 on row %RowNumber% is empty.   
 EndIf   
Data.EndLoop