Warning
This documentation does not refer to the most recent version of Pylons. Current Documentation
The middleware module is accessible via the pylons module.
ErrorHandler Toggle
If debug is enabled, this function will return the app wrapped in our customized Paste EvalException middleware we have called the PylonsEvalException.
Otherwise, the app will be wrapped in the Paste ErrorMiddleware, and the errorware dict will be passed into it.
Wraps the app in error docs using Paste RecursiveMiddleware and ErrorDocumentsMiddleware
All the args are passed directly into the ErrorDocumentsMiddleware. If no mapper is given, a default error_mapper is passed in.
Middleware for intercepting requests for WebHelpers' included javascript files.
Triggered when PATH_INFO begins with '/javascripts/'.
This class contains 2 members.
See the source for more information.