File "MultipleMatchesException.php"

Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/swedbank-pay-checkout/vendor/adci/full-name-parser/src/Exception/MultipleMatchesException.php
File size: 600 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

/**
 * @file
 * Class of IncorrectInputException.
 */

namespace ADCI\FullNameParser\Exception;

/**
 * Exception of incorrect input.
 *
 * @package FullNameParser
 */
class MultipleMatchesException extends NameParsingException
{

    /**
     * Default message text.
     *
     * @var string
     */
    const MESSAGE = "The regex being used has multiple matches.";

    /**
     * {@inheritdoc}
     */
    public function __construct($message = null, $code = 0, \Throwable $previous = null)
    {
        parent::__construct($message ? $message : self::MESSAGE, $code, $previous);
    }
}