Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
serviceloadexception.php
1<?php
2
4
5
7{
9
10 protected $engineCode;
11
22 public function __construct(
23 $message = "",
24 $code = 0,
25 $file = "",
26 $line = 0,
27 \Exception $previous = null,
28 $engineCode = ''
29 )
30 {
31 parent::__construct($message, $code, $file, $line, $previous);
32 $this->engineCode = $engineCode;
33 }
34
38 public function getCustomData(): array
39 {
40 return parent::getCustomData() + [
41 'engineCode' => $this->engineCode,
42 ];
43 }
44}
__construct( $message="", $code=0, $file="", $line=0, \Exception $previous=null, $engineCode='')