IHP Api Reference
Copyright(c) digitally induced GmbH 2020
Safe HaskellSafe-Inferred

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 #

buildNotFoundResponse :: forall context. (?context :: context, ConfigProvider context) => IO Response Source #