Skip to content

Commit a2647e0

Browse files
committed
Reformat data declaration and comment
- Prevents haddock parse error
1 parent bcdbf1b commit a2647e0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Yesod/Auth/OAuth2.hs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ import Yesod.Form
2929

3030
import qualified Data.ByteString.Lazy as BSL
3131

32-
data YesodOAuth2Exception = InvalidProfileResponse
33-
Text -- ^ Provider name
34-
BSL.ByteString -- ^ Aeson parse error
32+
-- | Provider name and Aeson parse error
33+
data YesodOAuth2Exception = InvalidProfileResponse Text BSL.ByteString
3534
deriving (Show, Typeable)
3635

3736
instance Exception YesodOAuth2Exception

0 commit comments

Comments
 (0)