cerror
The cerror function raises a compliance error. You typically specify this function as an action to be performed if a condition is false. This function is valid on the input side of a map only. There is also an optional third parameter you can supply—a string which is written to the translator report as part of the entry for the compliance error you are raising.
Syntax
Use this syntax:
cerror(100,$GROUPNAME[0][1][1].#FIELDNAME, "Extra error information can be
supplied here");
Example
An example of this function follows:
cerror(100,$GROUPNAME[0][1][1].#FIELDNAME);
//This raises compliance error 100 on the FIELDNAME field of the
//specified instance of the GROUPNAME group