Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
configexception.php
1<?php
2
4
6
8{
9 const EXCEPTION_TYPE = '';
10 const EXCEPTION_TYPE_INVALID_VALUE = 'INVALID_VALUE';
11 const EXCEPTION_TYPE_REQUIRED_FIELD = 'REQUIRED_FIELD';
12 const EXCEPTION_TYPE_SERVICE_LOAD = 'SERVICE_LOAD';
13 const EXCEPTION_TYPE_UNKNOWN_FIELD = 'UNKNOWN_FIELD';
14 const EXCEPTION_TYPE_UNRESOLVED_DEPENDENCY = 'UNRESOLVED_DEPENDENCY';
15
20 public function getCustomData() : array
21 {
22 return [
23 'type' => static::EXCEPTION_TYPE
24 ];
25 }
26}