Files
FreshRSS/app/Exceptions/BadUrlException.php
Alexis Degrugillier aacd1ffd40 Refactor exceptions
I removed unnecessary constructors and unnecessary inheritance
2015-03-04 23:32:20 -05:00

10 lines
164 B
PHP

<?php
class FreshRSS_BadUrl_Exception extends \Exception {
public function __construct($url) {
parent::__construct('`' . $url . '` is not a valid URL');
}
}