spyce
home
license
community
download
examples
resources
wishlist
contrib (@sf)
documentation
intro
lang
runtime
modules
tags
install
exits
sourceforge
statistics
freshmeat

Documentation - Runtime
[[ Spyce ]]
Python Server Pages
by Rimon Barr

Prev: 3.6.3 - import Up: 3.6 - Configuration Next: 3.6.5 - pageerror

3.6.4. error

The error option specifies an error handling function to call for server-level errors. Server-level errors include: spyce.spyceNotFound, spyce.spyceForbidden, spyce.spyceSyntaxError and spyce.pythonSyntaxError. The string should be of the format "module:function", and the module should be on the server path. The function is invoked as function(server, request, response, error) to generate the error output. The default is "error:serverHandler". Please look at the serverHandler function in the error module, if you are considering writing your own server error handler. File-level (or request-level) errors are handled using the error module.


Prev: 3.6.3 - import Up: 3.6 - Configuration Next: 3.6.5 - pageerror


© 2002-07 Rimon Barr
email: rimon@acm.org
Spyce Powered SourceForge Logo [[ Spyce ]]
Python Server Pages
version 1.3.13