Try OpenEdge Now
skip to main content
Error Handling
Introduction to Condition Handling : Conditions : ERROR
 

ERROR

The ERROR condition represents the majority of run-time failures in OpenEdge. The ERROR condition occurs when:
*The AVM fails to execute ABL code, usually at the statement level. For example, if a FIND statement fails to find a matching record, then the statement fails. These failures are detected at run time by the AVM which then raises the ERROR condition. These errors are known as system errors. A system error is associated with a number and a descriptive message.
*Your application executes the RETURN ERROR statement. An error raised in this way is called an application error.
*An application user presses the key mapped to the ERROR keycode. This style of user interface error has been replaced in modern programming by UI triggers.