case 2: return new UnexpectedErrorException(error);
case 4: return new TooManyAppCallsException(error);
case 10: return new AuthorizationMissingException(error);
case 2: return new UnexpectedErrorException(error);
case 4: return new TooManyAppCallsException(error);
case 10: return new AuthorizationMissingException(error);