Member variable Error():canRetry Foundation

Indicates whether an operation may be repeated after an error occurs.

Attribute: EXPORTED
Data type: Logical
Description

This instance variable contains a logical value. When it is .T. (true), this indicates that the subsystem can retry the operation which caused the error to occur. The number of times an operation has been tried is held in the instance variable :tries. Retry occurs when the error handler code block returns the value .T. (true). In case it returns .F. (false ), execution continues within the subsystem that raised the error.

The instance variable :canRetry never has the value .T. (true) when the instance variable :canSubstitute contains the value .T.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.