| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Network.Api.Postmark.Response
Documentation
data PostmarkResponse e a Source #
Constructors
| PostmarkSuccess a | |
| PostmarkUnauthorized | |
| PostmarkFailure e | |
| PostmarkUnexpected PostmarkUnexpectedType Int (Maybe Text) (Maybe Text) |
Instances
| (Eq a, Eq e) => Eq (PostmarkResponse e a) Source # | |
Defined in Network.Api.Postmark.Response Methods (==) :: PostmarkResponse e a -> PostmarkResponse e a -> Bool # (/=) :: PostmarkResponse e a -> PostmarkResponse e a -> Bool # | |
| (Show a, Show e) => Show (PostmarkResponse e a) Source # | |
Defined in Network.Api.Postmark.Response Methods showsPrec :: Int -> PostmarkResponse e a -> ShowS # show :: PostmarkResponse e a -> String # showList :: [PostmarkResponse e a] -> ShowS # | |
data PostmarkUnexpectedType Source #
Instances
| Eq PostmarkUnexpectedType Source # | |
Defined in Network.Api.Postmark.Response Methods (==) :: PostmarkUnexpectedType -> PostmarkUnexpectedType -> Bool # (/=) :: PostmarkUnexpectedType -> PostmarkUnexpectedType -> Bool # | |
| Show PostmarkUnexpectedType Source # | |
Defined in Network.Api.Postmark.Response Methods showsPrec :: Int -> PostmarkUnexpectedType -> ShowS # show :: PostmarkUnexpectedType -> String # showList :: [PostmarkUnexpectedType] -> ShowS # | |
type PostmarkResponse' a = PostmarkResponse PostmarkError a Source #
syntaxErr :: Int -> ByteString -> Text -> PostmarkResponse e a Source #
formatErr :: Int -> ByteString -> Text -> PostmarkResponse e a Source #