Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Error.php
1<?php
2
4
6
8{
9 public const UNAUTHORIZED = 'UNAUTHORIZED';
10 public const WORKFLOW_NOT_FOUND = 'WORKFLOW_NOT_FOUND';
11
12 public static function getCodes(): array
13 {
14 return array_merge(
15 parent::getCodes(),
16 [
17 static::UNAUTHORIZED,
18 static::WORKFLOW_NOT_FOUND,
19 ],
20 );
21 }
22
23 public static function getLocalizationIdMap(): array
24 {
25 Loc::loadMessages(__FILE__);
26 $prefix = 'BIZPROC_LIB_SERVICES_ERROR_';
27
28 return array_merge(
29 parent::getLocalizationIdMap(),
30 [
31 static::UNAUTHORIZED => $prefix . static::UNAUTHORIZED,
32 static::WORKFLOW_NOT_FOUND => $prefix . static::WORKFLOW_NOT_FOUND,
33 ],
34 );
35 }
36}
static loadMessages($file)
Definition loc.php:64