| Copyright | (c) David Johnson, 2014 |
|---|---|
| Maintainer | djohnson.m@gmail.com |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Web.Stripe.Error
Contents
Description
- data StripeErrorHTTPCode
- data StripeErrorType
- data StripeErrorCode
- data StripeError = StripeError {}
Types
data StripeErrorHTTPCode Source #
Error Codes for HTTP Responses
Constructors
| BadRequest | 400 |
| UnAuthorized | 401 |
| RequestFailed | 402 |
| NotFound | 404 |
| StripeServerError | (>=500) |
| UnknownHTTPCode | All other codes |
Instances
data StripeErrorCode Source #
Stripe Error Codes
Constructors
| IncorrectNumber | |
| InvalidNumber | |
| InvalidExpiryMonth | |
| InvalidExpiryYear | |
| InvalidCVC | |
| ExpiredCard | |
| IncorrectCVC | |
| IncorrectZIP | |
| CardDeclined | |
| Missing | |
| ProcessingError | |
| RateLimit | |
| UnknownError |
Instances