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