-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from mozilla-services/improved-fetch-err-messages
Fixes #12 - Improved Api#fetchChangesSince error messages.
- Loading branch information
Showing
3 changed files
with
96 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
export default { | ||
104: "Missing Authorization Token", | ||
105: "Invalid Authorization Token", | ||
106: "Request body was not valid JSON", | ||
107: "Invalid request parameter", | ||
108: "Missing request parameter", | ||
109: "Invalid posted data", | ||
110: "Invalid Token / id", | ||
111: "Missing Token / id", | ||
112: "Content-Length header was not provided", | ||
113: "Request body too large", | ||
114: "Resource was modified meanwhile", | ||
115: "Method not allowed on this end point", | ||
116: "Requested version not available on this server", | ||
117: "Client has sent too many requests", | ||
121: "Resource access is forbidden for this user", | ||
122: "Another resource violates constraint", | ||
201: "Service Temporary unavailable due to high load", | ||
202: "Service deprecated", | ||
999: "Internal Server Error", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters