message; if ($this->getFfdTags()) { $message .= ' [FFD tags: '.implode(', ', $this->getFfdTags()).']'; } parent::__construct($message, $code, $previous); } /** * Возвращает теги ФФД, с которыми связано исключение * * @return array|null */ protected function getFfdTags(): ?array { return $this->ffd_tags; } }