Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
data PostmarkResponse e a Source #
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 (==) :: 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 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 | |
Show PostmarkUnexpectedType Source # | |
Defined in Network.Api.Postmark.Response 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 #