<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing

namespace MailPoet\Segments\DynamicSegments\Exceptions;

if (!defined('ABSPATH')) exit;


use MailPoet\InvalidStateException;

class InvalidFilterException extends InvalidStateException {
  const MISSING_TYPE = 1;
  const INVALID_TYPE = 2;
  const MISSING_ROLE = 3;
  const MISSING_ACTION = 4;
  const MISSING_NEWSLETTER_ID = 5;
  const MISSING_CATEGORY_ID = 6;
  const MISSING_PRODUCT_ID = 7;
  const INVALID_EMAIL_ACTION = 8;
  const MISSING_VALUE = 9;
  const MISSING_NUMBER_OF_ORDERS_FIELDS = 10;
  const MISSING_TOTAL_SPENT_FIELDS = 11;
  const INVALID_DATE_VALUE = 12;
  const MISSING_COUNTRY = 13;
  const MISSING_FILTER = 14;
  const MISSING_OPERATOR = 15;
  const MISSING_PLAN_ID = 16;
  const MISSING_SINGLE_ORDER_VALUE_FIELDS = 17;
  const MISSING_AVERAGE_SPENT_FIELDS = 18;
  const MISSING_VARIATION_ID = 19;
  const TOO_MANY_GROUPS = 20;
  const TOO_MANY_FILTERS_PER_GROUP = 21;
  const INVALID_OUTER_CONNECTOR = 22;
};
