case ErrorCodes.INVALID_SORT:
return new InvalidSortException(error.getMessage(), new Date());
case ErrorCodes.NOT_FOUND:
return new NotFoundException(error.getMessage(), new Date());
case ErrorCodes.REQUEST_LIMIT_EXCEEDED:
return new RequestLimitExceededException(error.getMessage(), new Date());
case ErrorCodes.INVALID_VECTOR_FORMAT: