Add 504 error handling and update contributing guide
This commit is contained in:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user