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
Methods
__construct()
Constructor the exception. With an additional parameter for the link text
public
__construct([string $message = '' ][, int $code = 0 ][, Throwable $previous = null ][, LinkResult|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 : LinkResult|string = ''
-
[optional]
getLinkText()
Returns the link text when the link could not been set
public
getLinkText() : string