Add a centralized list of API error codes.

Review Request #4305 — Created July 7, 2013 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Add a centralized list of API error codes.

Right now we don't use the API error codes very much from our frontend code, but
I'm expecting that to change as we make things more dynamic. This adds a
centralized list of them so we don't sprinkle constants everywhere.
Ran js-tests, used the codes in my new review request rewrite.
    Loading...