hack-contrib-2009.4.52: Hack contribSource codeContentsIndex
Hack.Contrib.Middleware.ShowStatus
Description
Stolen from rack: catches all empty responses the app it wraps and replaces them with a site explaining the error. Additional details can be put into hack.showstatus.detail. and will be shown as HTML. If such details exist, the error page is always rendered, even if the reply was not empty.
Documentation
show_status :: MiddlewareSource
Produced by Haddock version 2.4.2