/** * Устанавливает функцию на ошибку запроса */ public static function SetFuncOnError($func) { self::$pFuncOnError = $func; }