| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Yesod.Auth.OAuth2.Exception
Documentation
data YesodOAuth2Exception Source #
Constructors
| OAuth2Error Text ByteString | HTTP error during OAuth2 handshake Plugin name and JSON-encoded |
| JSONDecodingError Text String | User profile was not as expected Plugin name and Aeson parse error message. |
| GenericError Text String | Other error conditions Plugin name and error message. |
Instances
| Show YesodOAuth2Exception Source # | |
Defined in Yesod.Auth.OAuth2.Exception Methods showsPrec :: Int -> YesodOAuth2Exception -> ShowS # show :: YesodOAuth2Exception -> String # showList :: [YesodOAuth2Exception] -> ShowS # | |
| Exception YesodOAuth2Exception Source # | |
Defined in Yesod.Auth.OAuth2.Exception Methods toException :: YesodOAuth2Exception -> SomeException # fromException :: SomeException -> Maybe YesodOAuth2Exception # | |