aboutsummaryrefslogtreecommitdiff
path: root/app/Exceptions/FeedNotAddedException.php
blob: cec8397e48ff7c76a8b57a8eb1ef28e96436585c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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;
	}
}