ErrorCall msg -> Abortion InternalServerError emptyHeaders $ Just msg
IOException ioE -> Abortion InternalServerError emptyHeaders $ Just $ formatIOE ioE
DynException dynE -> case fromDynamic dynE of
- Just (a :: Abortion) -> a
+ Just a
+ -> a :: Abortion
Nothing
-> Abortion InternalServerError emptyHeaders
$ Just $ show exc