summaryrefslogtreecommitdiff
path: root/app/models/Exception/FeedException.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/Exception/FeedException.php')
-rw-r--r--app/models/Exception/FeedException.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/Exception/FeedException.php b/app/models/Exception/FeedException.php
index bc61e1736..bff297eb9 100644
--- a/app/models/Exception/FeedException.php
+++ b/app/models/Exception/FeedException.php
@@ -11,3 +11,9 @@ class BadUrlException extends FeedException {
parent::__construct ('`' . $url . '` is not a valid URL');
}
}
+
+class OpmlException extends FeedException {
+ public function __construct ($name_file) {
+ parent::__construct ('OPML file is invalid');
+ }
+}