Progress
Language Reference


ERROR Attribute

A compile-time or run-time error condition.

Data Type: LOGICAL

Access: Readable

Applies To: Asynchronous Request Object Handle, COMPILER System Handle, ERROR-STATUS System Handle

For the asynchronous request object handle, the ERROR attribute indicates that an ERROR condition was returned from the AppServer as a result of processing the associated asynchronous request. If the COMPLETE attribute is FALSE, the value of this attribute is unknown (?). This attribute is set immediately before the event procedure is executed.

For the COMPILER system handle, the ERROR attribute indicates whether an error occurred in the preceding compilation. If no error occurred in the preceding compilation, the value of ERROR is the unknown value (?).

For the ERROR-STATUS system handle, the ERROR attribute indicates whether the Progress ERROR condition was raised in the most recent statement that used the NO-ERROR option. If no ERROR condition was raised in that statement, the value of the ERROR attribute is FALSE.

NOTE: Statements such as COMPILE handle errors as part of their normal function that do not raise the Progress ERROR condition. For example, the COMPILE statement does not raise the ERROR condition when it encounters compilation errors in a procedure.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095