public
\Bitrix\Main\Error::__construct(
string $message,
integer|string $code
);
This non-static method is called when creating a class instance and allows to modify it when creating an object.
Parameters
Parameter | Description | Version |
$message | Error message. | |
$code | Error code. | |
Example