设置错误
null Core_Model::error( string $message [, int $no = integer 0 ] )
参数列表
参数 类型 描述 默认值 $message
string
$message $no
int
$no integer 0
protected function error($message, $no = 0)
{
$this->error = new Exception($message, $no);
return $this;
}