См. определение в файле error.php строка 14
◆ __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 строка 34
◆ __toString()
◆ __unserialize()
__unserialize |
( |
array | $data | ) |
|
Disables deserialization.
См. определение в файле error.php строка 106
◆ createFromThrowable()
createFromThrowable |
( |
Throwable | $exception | ) |
|
|
static |
- Аргументы
-
- Возвращает
- static
См. определение в файле error.php строка 45
◆ getCode()
Returns the code of the error.
- Возвращает
- int|string
См. определение в файле error.php строка 54
◆ getCustomData()
- Возвращает
- mixed|null
См. определение в файле error.php строка 76
◆ getLocalizableMessage()
getLocalizableMessage |
( |
| ) |
|
◆ getMessage()
Returns the message of the error.
- Возвращает
- string
См. определение в файле error.php строка 63
◆ jsonSerialize()
◆ $code
◆ $customData
◆ $message
Объявления и описания членов класса находятся в файле: