Copyright | (c) David Johnson 2014 |
---|---|
Maintainer | djohnson.m@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data StripeErrorHTTPCode
- data StripeErrorType
- data StripeErrorCode
- data StripeError = StripeError {}
Types
data StripeErrorHTTPCode Source #
Error Codes for HTTP Responses
BadRequest | 400 |
UnAuthorized | 401 |
RequestFailed | 402 |
NotFound | 404 |
StripeServerError | (>=500) |
UnknownHTTPCode | All other codes |
Instances
Show StripeErrorHTTPCode Source # | |
Defined in Web.Stripe.Error showsPrec :: Int -> StripeErrorHTTPCode -> ShowS # show :: StripeErrorHTTPCode -> String # showList :: [StripeErrorHTTPCode] -> ShowS # |
data StripeErrorType Source #
Stripe Error Types
Instances
Show StripeErrorType Source # | |
Defined in Web.Stripe.Error showsPrec :: Int -> StripeErrorType -> ShowS # show :: StripeErrorType -> String # showList :: [StripeErrorType] -> ShowS # |
data StripeErrorCode Source #
Stripe Error Codes
IncorrectNumber | |
InvalidNumber | |
InvalidExpiryMonth | |
InvalidExpiryYear | |
InvalidCVC | |
ExpiredCard | |
IncorrectCVC | |
IncorrectZIP | |
CardDeclined | |
Missing | |
ProcessingError | |
RateLimit | |
UnknownError |
Instances
Show StripeErrorCode Source # | |
Defined in Web.Stripe.Error showsPrec :: Int -> StripeErrorCode -> ShowS # show :: StripeErrorCode -> String # showList :: [StripeErrorCode] -> ShowS # |
data StripeError Source #
Stripe Error
Instances
Show StripeError Source # | |
Defined in Web.Stripe.Error showsPrec :: Int -> StripeError -> ShowS # show :: StripeError -> String # showList :: [StripeError] -> ShowS # | |
FromJSON StripeError Source # | |
Defined in Web.Stripe.Error parseJSON :: Value -> Parser StripeError # parseJSONList :: Value -> Parser [StripeError] # | |
Exception StripeError Source # | |
Defined in Web.Stripe.Error |