on error and signal statements each take two arguments - the symbol and the text string that describe the error - rather than one. The syntax of the G2 4.0 error handling statements is described under Superseded On Error Statement Syntax and Superseded Signal Statement Syntax.
on error or signal statement is analogous to the class name of the error-class argument to the corresponding G2 5.0 statement.
on error or signal statement is analogous to the Error-description attribute of the error-class argument to the corresponding G2 5.0 statement.
on error statement.