public function display_message() { $response = array('error' => $this->message, 'trace' => $this->getTrace(), 'data' => $this->error_data); shortcuts\display_json($response); }