main = simpleHTTP nullConf $ ok "Everything is OK"
main = simpleHTTP nullConf $ noContent "This will be ignored."
main = simpleHTTP nullConf $ internalServerError "Sorry, there was an internal server error."
main = simpleHTTP nullConf $ badGateway "Bad Gateway."
main = simpleHTTP nullConf $ badRequest "Bad Request."
main = simpleHTTP nullConf $ unauthorized "You are not authorized."
main = simpleHTTP nullConf $ forbidden "Sorry, it is forbidden."
main = simpleHTTP nullConf $ notFound "What you are looking for has not been found."
main = simpleHTTP nullConf $ requestEntityTooLarge "That's too big for me to handle."
runThrow (throwError e >>= k) = runThrow (throwError e)