1 <?php
declare(strict_types
=1);
4 * This file is part of the Rapsys UserBundle package.
6 * (c) Raphaël Gertz <symfony@rapsys.eu>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Rapsys\UserBundle\Exception
;
14 use Symfony\Component\Security\Core\Exception\AccountStatusException
;
19 * UnactivatedException is thrown when the user account is unactivated.
21 class UnactivatedException
extends AccountStatusException
{
25 public function getMessageKey(): string {
26 return 'Account is not activated';