‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Page\PageInformationCreationFailedException Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Page\PageInformationCreationFailedException:
TYPO3\CMS\Frontend\Exception TYPO3\CMS\Core\Exception

Public Member Functions

 __construct (private readonly ResponseInterface $response, int $code)
 
 getResponse ()
 

Detailed Description

Exception created in PageInformationFactory that contains an "early" Response when further calculation is stopped and the final PageInformation object can not be created. It is typically caught and handled in the Frontend middleware that triggers PageInformation creation.

Definition at line 30 of file PageInformationCreationFailedException.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\Page\PageInformationCreationFailedException::__construct ( private readonly ResponseInterface  $response,
int  $code 
)

Definition at line 32 of file PageInformationCreationFailedException.php.

Member Function Documentation

◆ getResponse()

TYPO3\CMS\Frontend\Page\PageInformationCreationFailedException::getResponse ( )