Property : Handle on Error
Page Status: Beta
Contents |
[edit] Description
Use the Handle on Error property to handle error conditons returned by the Call Function () statement. This is similar (if not identical) to the try/catch functionality provided in other languages. CAVEAT - Currently not functional.
Selected The "catch" code block is implemented to handle error returns from the called function. Cleared The "catch" code block is not implemented.
When you select this property, the "catch" code block is implemented as shown below.
CalledFunction(void)
catch (Error error)
{
var Error error
// Your code goes here
}
To return an error from the called function, you must use the Return statement with the Throw property selected.
[edit] Property Editor Location
Appears when you select a Call Function () statement in the Design Editor
[edit] Data Type
[edit] Default Value
Cleared



