snap-core-0.9.4.1: Snap: A Haskell Web Framework (core interfaces and types)

Safe HaskellNone

Snap.Internal.Exceptions

Description

An internal Snap module containing the exception that escapes HTTP types.

N.B. this is an internal interface, please don't write user code that depends on it. Interfaces subject to change etc etc etc.

Synopsis

Documentation

data UncatchableException Source

An exception hierarchy for exceptions that cannot be caught by user-defined error handlers

Constructors

forall e . Exception e => UncatchableException e 

data EscapeHttpException Source

This exception is thrown if the handler chooses to escape regular HTTP traffic.

type EscapeHttpHandlerSource

Arguments

 = ((Int -> Int) -> IO ())

timeout modifier

-> Iteratee ByteString IO ()

socket write end

-> Iteratee ByteString IO ()