UnsupportedKeywordArgumentException
extends DetailedPhpBotGramException
in package
FinalYes
Table of Contents
Properties
- $argName : string
- $detail : string
- $url : string|null
- Subclasses set this in their constructor before the message is rendered.
Methods
- __construct() : mixed
- __toString() : string
- Lazy URL augmentation — mirrors aiogram's `DetailedAiogramError.__str__`.
Properties
$argName read-only
public
string
$argName
$detail read-only
public
string
$detail
$url
Subclasses set this in their constructor before the message is rendered.
public
string|null
$url
= null
Methods
__construct()
public
__construct(string $argName, string $message) : mixed
Parameters
- $argName : string
- $message : string
__toString()
Lazy URL augmentation — mirrors aiogram's `DetailedAiogramError.__str__`.
public
__toString() : string
getMessage() keeps the raw detail; stringifying the exception appends
the documentation URL if the subclass set one.