Add 504 error handling and update contributing guide

This commit is contained in:
lukasolson
2015-01-21 15:40:42 -07:00
parent 5e5b7e12ea
commit c972953962
2 changed files with 7 additions and 1 deletions

View File

@ -79,6 +79,12 @@ _.inherits(errors.RequestTypeError, ErrorAbstract);
var statusCodes = {
/**
* GatewayTimeout
* @param {String} [msg] - An error message that will probably end up in a log.
*/
504: 'Gateway Timeout',
/**
* ServiceUnavailable
* @param {String} [msg] - An error message that will probably end up in a log.