no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | developer_guide:voicexml_references:elements:error [2015/10/27 12:29] (current) – created borja | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== < error > ====== | ||
+ | ===== Description ===== | ||
+ | |||
+ | The < error > element catches an error event. | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | < | ||
+ | <error | ||
+ | count=" | ||
+ | cond=" | ||
+ | child elements | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Attributes ===== | ||
+ | |||
+ | |count|This attribute defines the event count, as in < catch > element. | ||
+ | |cond|The cond attribute is a Boolean condition to test to see if the event is caught by the < | ||
+ | |||
+ | |||
+ | ===== Anonymous Variables ===== | ||
+ | Two anonymous variables are available within the scope of the < catch > element: | ||
+ | * _event – the event contains the name of the event that was thrown. | ||
+ | * _message – the message contains the message string from the corresponding < throw > element, or a platform-defined value for events raised by the platform. | ||
+ | |||
+ | ===== Parents ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ===== Children ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ===== Extensions ===== | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Limitations/ | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Example Code ===== | ||
+ | |||
+ | < | ||
+ | <?xml version=" | ||
+ | <vxml version=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ |