web/lib/Exceptions/InvalidPageScanUrlException.php

8 lines
261 B
PHP

<?
namespace Exceptions;
class InvalidPageScanUrlException extends InvalidUrlException{
public function __construct(string $url, string $exampleUrl){
$this->message = 'Invalid page scan URL: <' . $url . '>. Expected a URL like: <'. $exampleUrl . '>.';
}
}