• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/error.php
  • Класс: BitrixPullError
  • Вызов: Error::__construct
public function __construct($method, $code, $msg, $params = Array())
{
	if ($method != null)
	{
		$this->method = $method;
		$this->code = $code;

		if(is_array($msg))
			$this->msg = implode("; ", $msg);
		else
			$this->msg = $msg;

		$this->params = $params;

		$this->error = true;
	}
}