Documentation

IoException constructor

 public
\Bitrix\Main\IO\IoException::__construct(
 string $message = "",
 string $path = "",
 \Exception $previous = null
);

Non-static method is called when creating a class instance, allowing performing specific actions within it when creating an object. Receives only message and path. Passed error code: 120.

Parameters

ParameterDescriptionVersion
$messageException message
$pathPath that generated exception.
$previousPrevious exception. Used for building chain of exceptions.

Example



© «Bitrix24», 2001-2022
Up