From a2647e0ada0eabaa61f95046670b16de7c65d97d Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Tue, 19 Aug 2014 17:33:33 -0400 Subject: [PATCH] Reformat data declaration and comment - Prevents haddock parse error --- Yesod/Auth/OAuth2.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Yesod/Auth/OAuth2.hs b/Yesod/Auth/OAuth2.hs index 72fcd2a..4653aa6 100644 --- a/Yesod/Auth/OAuth2.hs +++ b/Yesod/Auth/OAuth2.hs @@ -29,9 +29,8 @@ import Yesod.Form import qualified Data.ByteString.Lazy as BSL -data YesodOAuth2Exception = InvalidProfileResponse - Text -- ^ Provider name - BSL.ByteString -- ^ Aeson parse error +-- | Provider name and Aeson parse error +data YesodOAuth2Exception = InvalidProfileResponse Text BSL.ByteString deriving (Show, Typeable) instance Exception YesodOAuth2Exception