| VoiceXML 2.1 Development Guide | Home | Frameset Home |
|
<catch> handler for each specific type of badfetch that returns a HTTP response code. As such, any 'error.badfetch' handler that has a specific HTTP response code suffix, (see RFC2616 for a listing of all response codes), can be handled appropriately. For instance:
<catch event="error.badfetch.http.404">
<log expr=" '*** CAUGHT AN ERROR.BADFETCH.404 ***' "/>
</catch>
<catch event="error.badfetch.http.500">
<log expr=" '*** CAUGHT AN ERROR.BADFETCH.500 ***' "/>
</catch>
<catch event="error.badfetch.http.505">
<log expr=" '*** CAUGHT AN ERROR.BADFETCH.505 ***' "/>
</catch>
<property> value, an undefined variable is referenced, or any number of standard run-time errors in the script. When this is encountered, you will likely need to comb over your code to the minute detail in order to find the culprit. Experienced coders will make liberal use of the <log> element in order to track variables and more easily narrow down what is at fault, and will also put in some heavy analysis of the Voxeo debugger output.| ANNOTATIONS: EXISTING POSTS |
| login |
|