- case 1: return new UnknownErrorException(error);
- case 2: return new UnexpectedErrorException(error);
- case 4: return new TooManyAppCallsException(error);
- case 10: return new AuthorizationMissingException(error);
- case 12: return new DeprecatedException(error);
- case 17: return new TooManyUserCallsException(error);
- case 21: return new PageMigratedException(error);
+ case 1: return new UnknownErrorException(status, headers, error);
+ case 2: return new UnexpectedErrorException(status, headers, error);
+ case 4: return new ApplicationRequestLimitReachedException(status, headers, error);
+ case 10: return new AuthorizationMissingException(status, headers, error);
+ case 12: return new DeprecatedException(status, headers, error);
+ case 17: return new AccountRequestLimitReachedException(status, headers, error);
+ case 21: return new PageMigratedException(status, headers, error);
+ case 32: return new PageRequestLimitReachedException(status, headers, error);