Пример #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;
 }