hydra-sql/vendor/symfony/security-core/Exception/LogoutException.php
2022-05-03 08:54:45 +02:00

26 lines
633 B
PHP

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Security\Core\Exception;
/**
* LogoutException is thrown when the account cannot be logged out.
*
* @author Jeremy Mikola <jmikola@gmail.com>
*/
class LogoutException extends RuntimeException
{
public function __construct(string $message = 'Logout Exception', \Throwable $previous = null)
{
parent::__construct($message, 403, $previous);
}
}