Command Reference : Programming Language Reference
  
 
seterr
Set a user-specified execution error.
Syntax
seterr string
sets an execution error using the specified string. May only be used in programs.
Cross-references
See also @errorcount, @maxerrcount, clearerrs, and setmaxerrs.