// 1..99: general errors
case 1: return new UnknownErrorException(error);
case 2: return new UnexpectedErrorException(error);
- case 4: return new TooManyAppCallsException(error);
+ case 4: return new ApplicationRequestLimitReachedException(error);
case 10: return new AuthorizationMissingException(error);
case 12: return new DeprecatedException(error);
- case 17: return new TooManyUserCallsException(error);
+ case 17: return new AccountRequestLimitReachedException(error);
case 21: return new PageMigratedException(error);
+ case 32: return new PageRequestLimitReachedException(error);
// 100..199: graph method errors
case 100: return new UnsupportedGetRequestException(error);
case 102: return new UserAccessTokenRequiredException(error);
// 500..599: application messaging errors ?
case 506: return new MultipleConcurrentPostsException(error);
// 600..699: FQL errors
- case 613: return new RateLimitExceededException(error);
+ case 613: return new CustomRequestLimitReachedException(error);
// 700..749: ref errors
// 750..799: application integration errors
// 900..949: application information errors