mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-09-16 04:56:47 +00:00
cfa3d44471
* Move files in typical src and tests folder * Fix psalm error
17 lines
351 B
PHP
17 lines
351 B
PHP
<?php
|
|
|
|
namespace Egulias\EmailValidator\Validation\Exception;
|
|
|
|
use Exception;
|
|
|
|
class EmptyValidationList extends \InvalidArgumentException
|
|
{
|
|
/**
|
|
* @param int $code
|
|
*/
|
|
public function __construct($code = 0, Exception $previous = null)
|
|
{
|
|
parent::__construct("Empty validation list is not allowed", $code, $previous);
|
|
}
|
|
}
|