mautic / app /bundles /EmailBundle /Exception /InvalidEmailException.php
chrisbryan17's picture
Upload folder using huggingface_hub
d2897cd verified
<?php
namespace Mautic\EmailBundle\Exception;
use Mautic\CoreBundle\Exception\InvalidValueException;
class InvalidEmailException extends InvalidValueException
{
public function __construct(
protected string $emailAddress,
string $message = '',
int $code = 0,
?\Throwable $previous = null
) {
parent::__construct($message, $code, $previous);
}
public function getEmailAddress(): string
{
return $this->emailAddress;
}
}