String msg = errorMeta.getErrorType() + ": " + errorMeta.getErrorMessage();
switch (errorMeta.getCode()) {
case 400:
throw new InstagramBadRequestException(msg, this.headers);
case 429:
throw new InstagramRateLimitException(msg, this.headers);
}
throw new InstagramException(msg, this.headers);
} else {
throw new InstagramException("No metadata found in response", this.headers);