Copyright(c) digitally induced GmbH 2020
Safe HaskellNone

IHP.ErrorController

Description

 
Synopsis

Documentation

displayException :: (Show action, ?context :: ControllerContext, ?applicationContext :: ApplicationContext, ?requestContext :: RequestContext) => SomeException -> action -> Text -> IO ResponseReceived Source #

handleNoResponseReturned :: (Show controller, ?context :: ControllerContext) => controller -> IO ResponseReceived Source #

handleNotFound :: (?context :: RequestContext) => IO ResponseReceived Source #

Renders a 404 not found response. If a static/404.html exists, that is rendered instead of the IHP not found page

handleRouterException :: (?context :: RequestContext) => SomeException -> IO ResponseReceived Source #