Closed
Bug 1034326
Opened 12 years ago
Closed 11 years ago
fxpay: return error objects so that errors can be more specific
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
2015-03-17
People
(Reporter: kumar, Assigned: kumar)
References
Details
(Whiteboard: [qa-])
Error codes are strings, like INVALID_RECEIPT. Let's use error objects instead so that we can return specific errors such as ReceiptDecodeError or InvalidStoreData and the developer can do `if (error instanceof InvalidReceipt) ...` to catch them all.
| Assignee | ||
Updated•12 years ago
|
Priority: -- → P3
Updated•11 years ago
|
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → kumar.mcmillan
| Assignee | ||
Comment 1•11 years ago
|
||
https://github.com/mozilla/fxpay/pull/88
Docs will be updated momentarily
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: --- → 2015-03-17
You need to log in
before you can comment on or make changes to this bug.
Description
•