Merge pull request #234 from ycombinator/gh-232
Adding 429 HTTP status code
This commit is contained in:
@ -117,6 +117,12 @@ var statusCodes = {
|
||||
*/
|
||||
500: 'Internal Server Error',
|
||||
|
||||
/**
|
||||
* TooManyRequests
|
||||
* @param {String} [msg] - An error message that will probably end up in a log.
|
||||
*/
|
||||
429: 'Too Many Requests',
|
||||
|
||||
/**
|
||||
* PreconditionFailed
|
||||
* @param {String} [msg] - An error message that will probably end up in a log.
|
||||
|
||||
Reference in New Issue
Block a user