web/lib/Exceptions/InvalidPageScanUrlException.php
2024-05-10 23:38:57 -05:00

10 lines
301 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 . '>.';
parent::__construct($this->message);
}
}