15 lines
280 B
PHP
15 lines
280 B
PHP
|
<?php
|
||
|
|
||
|
namespace Egulias\EmailValidator\Exception;
|
||
|
|
||
|
abstract class InvalidEmail extends \InvalidArgumentException
|
||
|
{
|
||
|
const REASON = "Invalid email";
|
||
|
const CODE = 0;
|
||
|
|
||
|
public function __construct()
|
||
|
{
|
||
|
parent::__construct(static::REASON, static::CODE);
|
||
|
}
|
||
|
}
|