O'Reilly logo

Definitive VoiceXML™ by David Cuddihy, Adam Hocek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required