| Copyright | (c) Jon Schoning 2015 |
|---|---|
| Maintainer | jonschoning@gmail.com |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Pinboard.Error
Description
Documentation
data PinboardErrorHTTPCode Source #
Constructors
| BadRequest | 400 |
| UnAuthorized | 401 |
| RequestFailed | 402 |
| Forbidden | 403 |
| NotFound | 404 |
| TooManyRequests | 429 |
| PinboardServerError | (>=500) |
| UnknownHTTPCode | All other codes |
Instances
| Show PinboardErrorHTTPCode Source # | |
Defined in Pinboard.Error Methods showsPrec :: Int -> PinboardErrorHTTPCode -> ShowS # show :: PinboardErrorHTTPCode -> String # showList :: [PinboardErrorHTTPCode] -> ShowS # | |
data PinboardErrorType Source #
Instances
| Eq PinboardErrorType Source # | |
Defined in Pinboard.Error Methods (==) :: PinboardErrorType -> PinboardErrorType -> Bool # (/=) :: PinboardErrorType -> PinboardErrorType -> Bool # | |
| Show PinboardErrorType Source # | |
Defined in Pinboard.Error Methods showsPrec :: Int -> PinboardErrorType -> ShowS # show :: PinboardErrorType -> String # showList :: [PinboardErrorType] -> ShowS # | |
data PinboardErrorCode Source #
Constructors
| UnknownError |
Instances
| Show PinboardErrorCode Source # | |
Defined in Pinboard.Error Methods showsPrec :: Int -> PinboardErrorCode -> ShowS # show :: PinboardErrorCode -> String # showList :: [PinboardErrorCode] -> ShowS # | |
data PinboardError Source #
Constructors
| PinboardError | |
Fields | |
Instances
| Show PinboardError Source # | |
Defined in Pinboard.Error Methods showsPrec :: Int -> PinboardError -> ShowS # show :: PinboardError -> String # showList :: [PinboardError] -> ShowS # | |
| Exception PinboardError Source # | |
Defined in Pinboard.Error Methods toException :: PinboardError -> SomeException # fromException :: SomeException -> Maybe PinboardError # displayException :: PinboardError -> String # | |