setData($data); } /** * Attach additional information * * @access public * @param mixed $data [optional] A value that contains additional information about the error. * @return \JsonRPC\Exception\ResponseException */ public function setData($data = null) { $this->data = $data; return $this; } /** * Get additional information * * @access public * @return mixed|null */ public function getData() { return $this->data; } }