3.13. error

Element typeerror
Attributescond | count
Parentsfield | form | initial | menu | object | record | subdialog | transfer | vxml
Childrenassign | audio | clear | disconnect | enumerate | exit | goto | if | log | prompt | reprompt | return | script | submit | throw | value | var
DescriptionShorthand for catching an error event. The contained event-handling code has access to the following variables:

_event

The name of the event being handled.

_message

The message string set by the throw element.

DTD

<!ELEMENT error (%executable.content;)* >
<!ATTLIST error
  %event.handler.attrs; >

Language model

Attributes

cond : expression = true

This event ...

Get Definitive VoiceXML™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.