simple-0.11.3: A minimalist web framework for the WAI server interface

Safe Haskell | Safe
Language | Haskell2010

Web.Simple.Controller.Exception

# Documentation

onException :: Controller s a -> Controller s b -> Controller s a Source #

finally :: Controller s a -> Controller s b -> Controller s a Source #

bracket :: Controller s a -> (a -> Controller s b) -> (a -> Controller s c) -> Controller s c Source #

handle :: Exception e => (e -> Controller s a) -> Controller s a -> Controller s a Source #