4
0

FeedNotAddedException.php 308 B

12345678910111213141516
  1. <?php
  2. declare(strict_types=1);
  3. class FreshRSS_FeedNotAdded_Exception extends Minz_Exception {
  4. private string $url = '';
  5. public function __construct(string $url) {
  6. parent::__construct('Feed not added! ' . $url, 2147);
  7. $this->url = $url;
  8. }
  9. public function url(): string {
  10. return $this->url;
  11. }
  12. }