Example #1
0
 /**
  * Store result of the call in the response object.
  *
  * @param Integer $code    Return Code
  * @param String  $message Error Message
  * @param mixed   $info    Additional error information
  *
  * @return void
  */
 protected function set_result($code, $message = NULL, $info = NULL)
 {
     $this->response->set_return_code($this->request->call, $code);
     if ($message !== NULL) {
         $this->response->set_error_message($this->request->call, $message);
     }
     if ($info !== NULL) {
         $this->response->set_error_info($this->request->call, $info);
     }
 }