throwError() public method

[throwError description]
public throwError ( string $msg = "parse error", [type] $count = null ) : void
$msg string [description]
$count [type]
return void
コード例 #1
0
ファイル: Less.php プロジェクト: Joal01/fof
 /**
  * Uses the current value of $this->count to show line and line number
  *
  * @param   type  $msg  X
  *
  * @return  void
  */
 protected function throwError($msg = null)
 {
     if ($this->sourceLoc >= 0) {
         $this->sourceParser->throwError($msg, $this->sourceLoc);
     }
     throw new exception($msg);
 }