public function details_get($event_id) { try { $this->response($this->model->get_detailed_event($event_id), 200); } catch (Exception $e) { $this->response($e->getMessage(), $e->getCode()); } }