VoxML 1.0 Element Reference

ERROR Element

ERROR Element

The ERROR element enables the application developer to define the behavior of the VoxML application in response to an error. If the application developer does not define the behavior of ERROR for a given STEP, the default behavior will be used.

The default behavior for the ERROR element is to speak the phrase “An error has occurred.”, remain in the current STEP, replay the PROMPT, and wait for the user to respond.

The ERROR element can be contained within a STEP or a CLASS element.

Syntax

<ERROR [TYPE="value"] [ORDINAL="value"] [REPROMPT="value"] [NEXT="value" [NEXTMETHOD="value"] ] > text </ERROR>

Attributes

Attribute Name

Allowed Values

 

 

TYPE

ALL *

 

NOMATCH

 

NOSPEECH

 

TOOLITTLE

 

TOOMUCH

 

NOAUTH

 

BADNEXT

 

 

ORDINAL

integer

 

 

REPROMPT

Y

 

N *

 

 

NEXT

next step URL

 

 

NEXTMETHOD

GET *

 

POST

October 1998

VoxML 1.0 Language Reference 16

Page 20
Image 20
Motorola 1 manual Error Element