matomo
/
app
/
vendor
/
prefixed
/
symfony
/
http-foundation
/
Exception
/
SessionNotFoundException.php
BadRequestException.php
2 years ago
ConflictingHeadersException.php
2 years ago
JsonException.php
2 years ago
RequestExceptionInterface.php
2 years ago
SessionNotFoundException.php
2 years ago
SuspiciousOperationException.php
2 years ago
SessionNotFoundException.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * This file is part of the Symfony package. |
| 5 | * |
| 6 | * (c) Fabien Potencier <fabien@symfony.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | namespace Matomo\Dependencies\Symfony\Component\HttpFoundation\Exception; |
| 12 | |
| 13 | /** |
| 14 | * Raised when a session does not exist. This happens in the following cases: |
| 15 | * - the session is not enabled |
| 16 | * - attempt to read a session outside a request context (ie. cli script). |
| 17 | * |
| 18 | * @author Jérémy Derussé <jeremy@derusse.com> |
| 19 | */ |
| 20 | class SessionNotFoundException extends \LogicException implements RequestExceptionInterface |
| 21 | { |
| 22 | public function __construct(string $message = 'There is currently no session available.', int $code = 0, ?\Throwable $previous = null) |
| 23 | { |
| 24 | parent::__construct($message, $code, $previous); |
| 25 | } |
| 26 | } |
| 27 |