mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-25 04:28:36 -04:00
Refactor controller add feed
This commit is contained in:
1 parent
0a79d4085b
commit
324c83348c
4 files changed
+105
-108
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
class FreshRSS_FeedNotAdded_Exception extends Exception {
|
||||
private $feedName = '';
|
||||
|
||||
public function __construct($url, $feedName) {
|
||||
parent::__construct('Feed not added! ' . $url, 2147);
|
||||
$this->$feedName = $feedName;
|
||||
}
|
||||
|
||||
public function feedName() {
|
||||
return $this->feedName();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user