for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Quantum PHP Framework
*
* An open source software development framework for PHP
* @package Quantum
* @author Arman Ag. <[email protected]>
* @copyright Copyright (c) 2018 Softberg LLC (https://softberg.org)
* @link http://quantum.softberg.org/
* @since 2.9.5
*/
namespace Quantum\Libraries\Mailer;
use Quantum\Exceptions\LangException;
* Class MailerException
* @package Quantum\Exceptions
class MailerException extends \Exception
{
* @param string $name
* @return MailerException
* @throws LangException
public static function unsupportedAdapter(string $name): MailerException
return new static(t('exception.adapter_not_supported', $name), E_WARNING);
}
* @param string $error
public static function unableToSend(string $error): MailerException
return new static($error, E_WARNING);