diff --git a/Relaxation/Relaxation.cfc b/Relaxation/Relaxation.cfc index 7f0cbba..d6f4b56 100644 --- a/Relaxation/Relaxation.cfc +++ b/Relaxation/Relaxation.cfc @@ -318,7 +318,7 @@ component result.Success = false; result.ErrorMessage = e.Message; /* Allow called methods to throw special ErrorCodes to get specific HTTP status codes. */ - if ( ListFindNoCase("NotAuthorized,ResourceNotFound,ClientError,ConflictError,ServerError,VerbNotFound", e.ErrorCode) ) { + if ( ListFindNoCase("NotAuthorized,ResourceNotFound,ClientError,ConflictError,ServerError,TooManyRequests,VerbNotFound", e.ErrorCode) ) { result.Error = e.ErrorCode; return result; }