added exceptions for HTTPS/shield related statuses

This commit is contained in:
Spencer Alger
2015-01-06 07:18:22 -07:00
parent 4fc1c91634
commit 3e5df1b6ad

View File

@ -104,10 +104,10 @@ var statusCodes = {
409: 'Conflict', 409: 'Conflict',
/** /**
* Forbidden * AuthorizationException
* @param {String} [msg] - An error message that will probably end up in a log. * @param {String} [msg] - An error message that will probably end up in a log.
*/ */
403: 'Forbidden', 403: 'Authorization Exception',
/** /**
* NotFound * NotFound
@ -115,6 +115,12 @@ var statusCodes = {
*/ */
404: 'Not Found', 404: 'Not Found',
/**
* AuthenticationException
* @param {String} [msg] - An error message that will probably end up in a log.
*/
401: 'Authentication Exception',
/** /**
* BadRequest * BadRequest
* @param {String} [msg] - An error message that will probably end up in a log. * @param {String} [msg] - An error message that will probably end up in a log.