1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
error.php
См. документацию.
1<?php
2namespace Bitrix\Pull;
3
4class Error
5{
6 public $method = '';
7 public $code = '';
8 public $msg = '';
9 public $params = Array();
10 public $error = false;
11
12 public function __construct($method, $code, $msg, $params = Array())
13 {
14 if ($method != null)
15 {
16 $this->method = $method;
17 $this->code = $code;
18
19 if(is_array($msg))
20 $this->msg = implode("; ", $msg);
21 else
22 $this->msg = $msg;
23
24 $this->params = $params;
25
26 $this->error = true;
27 }
28 }
29}
Определения error.php:15
$method
Определения error.php:6
$code
Определения error.php:7
$msg
Определения error.php:8
__construct($method, $code, $msg, $params=Array())
Определения error.php:12
$error
Определения error.php:10
$params
Определения error.php:9