1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
BrokerWriteException.php
См. документацию.
1<?php
2
3declare(strict_types=1);
4
5namespace Bitrix\Main\Messenger\Internals\Exception\Broker;
6
7use Bitrix\Main\Messenger\Entity\MessageBox;
8use Bitrix\Main\Messenger\Internals\Exception\MessageBoxAwareExceptionInterface;
9use Bitrix\Main\Messenger\Internals\Exception\MessageBoxAwareExceptionTrait;
10use Bitrix\Main\Messenger\Internals\Exception\RuntimeException;
11
13{
15
16 public function __construct(
17 MessageBox $messageBox,
18 ?\Throwable $previous = null,
19 string $message = '',
20 int $code = 0,
21 )
22 {
23 parent::__construct($message, $code, $previous);
24
25 $this->messageBox = $messageBox;
26
27 $this->message = $this->buildActualMessage($this->messageBox);
28 }
29
30 protected function buildActualMessage(MessageBox $messageBox): string
31 {
32 return $this->message;
33 }
34}
__construct(MessageBox $messageBox, ?\Throwable $previous=null, string $message='', int $code=0,)
Определения BrokerWriteException.php:16
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения options.php:195
$message
Определения payment.php:8