Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SessionNotFoundException.php

function SessionNotFoundException::__construct

File

vendor/symfony/http-foundation/Exception/SessionNotFoundException.php, line 23

Class

SessionNotFoundException
Raised when a session does not exist. This happens in the following cases:

Namespace

Symfony\Component\HttpFoundation\Exception

Code

public function __construct(string $message = 'There is currently no session available.', int $code = 0, ?\Throwable $previous = null) {
    parent::__construct($message, $code, $previous);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal