Closed Bug 1035950 Opened 10 years ago Closed 10 years ago

Error-codes in Spartacus should not contain technical messages that are shown to end-users.

Categories

(Marketplace Graveyard :: Payments/Refunds, defect)

Avenir
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: scolville, Assigned: scolville)

Details

(Whiteboard: [qa-])

error-codes.js needs to just have user-facing messages keyed by error-codes. The rest can be removed.
instead of removing the codes we should put them in the error legend API so devs can look them up
(In reply to Kumar McMillan [:kumar] (needinfo for quickness) from comment #1)
> instead of removing the codes we should put them in the error legend API so
> devs can look them up

Yeah most of the ones that need removing should already be there. But I'll check and add missing ones.
Assignee: nobody → scolville
https://github.com/mozilla/spartacus/commit/fe825fd37f67b4ee2f9e10b6995772a0a8eb0c22
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.