См. определение в файле error.php строка 11
◆ __construct()
__construct |
( |
|
$message, |
|
|
|
$code = 0 , |
|
|
|
$customData = null |
|
) |
| |
Creates a new Error.
- Аргументы
-
string | $message | Message of the error. |
int | string | $code | Code of the error. |
mixed | null | $customData | Data typically of key/value pairs that provide additional user-defined information about the error. |
Переопределяется в Error.
См. определение в файле error.php строка 31
◆ __toString()
◆ getCode()
Returns the code of the error.
- Возвращает
- int|string
См. определение в файле error.php строка 42
◆ getCustomData()
- Возвращает
- mixed|null
См. определение в файле error.php строка 59
◆ getMessage()
Returns the message of the error.
- Возвращает
- string
См. определение в файле error.php строка 51
◆ jsonSerialize()
◆ $code
◆ $customData
◆ $message