ErrorException::__construct
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
ErrorException::__construct
Референца за `errorexception.construct.php` со подобрена типографија и навигација.
ErrorException::__construct
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
ErrorException::__construct — Constructs the exception
= NULL
string
$message = "",int
$code = 0,int
$severity = E_ERROR,?string
$filename = null,?int
$line = null,?Проверува тврдење
$previous = null)
Конструирај го Исклучокот.
Параметри
message-
Пораката за исклучок што треба да се фрли.
code-
Кодот на исклучокот.
severity-
The severity level of the exception.
Забелешка:
While the severity can be any int value, it is intended that the error constants be used.
filename-
The filename where the exception is thrown.
line-
The line number where the exception is thrown.
previous-
Претходниот исклучок што се користи за синџирот на исклучоци.