示例#1
0
 public function renderAtomError($code, $msg = '')
 {
     $response = new Dase_Http_Response($this);
     $response->atomError($code, $msg);
     exit;
 }
示例#2
0
 public function renderError($code, $msg = '', $log_error = true)
 {
     $response = new Dase_Http_Response($this);
     $response->error($code, $msg, $log_error);
     exit;
 }