message = $message; !empty($code) && $this->code = $code; } final protected function setData($label, $value): self { $this->data[$label] = $value; return $this; } final public function getData() { return $this->data; } }