UnableToLinkException

class \TYPO3\CMS\Frontend\Typolink\UnableToLinkException

Extends
Exception

Exception which is thrown when a link could not be set

Table of Contents

Properties

$linkText  : string

Methods

__construct()  : mixed
Constructor the exception. With an additional parameter for the link text
getLinkText()  : string
Returns the link text when the link could not been set

Properties

$linkText

protected string $linkText

the text which should have gone inside the

Tags

todo

Make $linkText strictly typed in TYPO3 v13

Methods

__construct()

Constructor the exception. With an additional parameter for the link text

public __construct([string $message = '' ][, int $code = 0 ][, Throwable $previous = null ][, string $linkText = '' ]) : mixed

Parameters

$message : string = ''

[optional] The Exception message to throw.

$code : int = 0

[optional] The Exception code.

$previous : Throwable = null

[optional] The previous throwable used for the exception chaining.

$linkText : string = ''

[optional]

Tags

todo

Make the signature strictly typed in TYPO3 v13

getLinkText()

Returns the link text when the link could not been set

public getLinkText() : string

Return values

string
On this page