library = $library; $message = $message ?: "The version of library '{$this->library->getId()}' could not be detected."; parent::__construct($message, $code, $previous); } }