Documentation is available at voice_error.php
- <?php
- /**
- * VoiceXML Error Handler
- *
- * @package Phone2Dev
- * @author Stanislav Miroshnikov
- */
- /**
- * VoiceXML Error Handler
- *
- * Custom error handling function for vxml documents, which is
- * necessary because VoiceXML browsers cannot handle HTML tags
- * in the default error handler
- */
- function errorHandler($code, $message, $file, $line)
- {
- print "<form id=\"error\">\n<block>\n";
- print $message.' in '.$file.' at line '.$line;
- print "\n</block>\n</form>\n</vxml>";
- exit;
- }
- set_error_handler('errorHandler');
- //trigger_error('This is an information log message.', E_USER_NOTICE);
- ?>
Documentation generated on Tue, 4 Jan 2005 13:48:10 -0500 by phpDocumentor 1.3.0RC3