Skip to content

A free, self-hostable news aggregator…

308 B
Raw Blame
<?php
declare(strict_types=1);

class FreshRSS_FeedNotAdded_Exception extends Minz_Exception {

	private string $url = '';

	public function __construct(string $url) {
		parent::__construct('Feed not added! ' . $url, 2147);
		$this->url = $url;
	}

	public function url(): string {
		return $this->url;
	}
}