aboutsummaryrefslogtreecommitdiff
path: root/app/Exceptions/BadUrlException.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Exceptions/BadUrlException.php')
-rw-r--r--app/Exceptions/BadUrlException.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Exceptions/BadUrlException.php b/app/Exceptions/BadUrlException.php
new file mode 100644
index 000000000..7d1fe110e
--- /dev/null
+++ b/app/Exceptions/BadUrlException.php
@@ -0,0 +1,6 @@
+<?php
+class FreshRSS_BadUrl_Exception extends FreshRSS_Feed_Exception {
+ public function __construct ($url) {
+ parent::__construct ('`' . $url . '` is not a valid URL');
+ }
+}