Motorola 1 manual Error Element

Page 20

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

Image 20
Contents VoxML Language Reference RevisionPage Contents Appendices Purpose of this Document What is VoxMLOverview Structure of a VoxML Document DIALOGs and STEPsBasic Elements Other Reference Documentation VoxML 1.0 Application Development GuideAttributes ACK ElementSyntax Examples Audio Element Break Element Cancel Element Next step URLExamples Case Element Class Element IntegerExamples Dialog Element EMP Element Error Element Input TYPE=OPTIONLIST Help Element Option NEXT=#end done /OPTION 11 /INPUT 12 /STEP Input Element Input Element Type Date Data FormatInput Element Type Digits Input Element Type Grammar Input Element Type Hidden Input Element Type Money Input Element Type None Input Element Type Number Input Element Type Optionlist Input Element Type Phone Input Element Type PROFILE‡ Input Element Type Record Prompt Input Element Type Time Input Element Type Yorn Option Element VoxML 1.0 Element Reference Options Element Or Element Syntax AttributesPrompt Element Pros Element Rename Element Response Element Examples Step Element Switch Element Value Element PromptAppendices Appendix a VoxML 1.0 Document Type DefinitionOctober VoxML 1.0 Language Reference Appendix B Vcard Profile Names and Subtypes Vcard Profile Names and SubtypesFirst