mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-01-27 22:59:08 -05:00
20 lines
421 B
PHP
20 lines
421 B
PHP
<?php
|
|
|
|
class FeedException extends Exception {
|
|
public function __construct ($message) {
|
|
parent::__construct ($message);
|
|
}
|
|
}
|
|
|
|
class BadUrlException extends FeedException {
|
|
public function __construct ($url) {
|
|
parent::__construct ('`' . $url . '` is not a valid URL');
|
|
}
|
|
}
|
|
|
|
class OpmlException extends FeedException {
|
|
public function __construct ($name_file) {
|
|
parent::__construct ('OPML file is invalid');
|
|
}
|
|
}
|