* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ namespace PrestaShop\Module\PsAccounts\Exception\AccountLogin; use PrestaShop\OAuth2\Client\Provider\PrestaShopUser; class EmailNotVerifiedException extends AccountLoginException { /** * @param string $message * @param PrestaShopUser|null $user * @param \Exception $previous */ public function __construct( $message = 'Your account email is not verified', PrestaShopUser $user = null, \Exception $previous = null ) { parent::__construct($message, $user, $previous); $this->type = 'email_not_verified'; } }