mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 14:20:29 -04:00
10 lines
296 B
PHP
10 lines
296 B
PHP
<?
|
|
namespace Exceptions;
|
|
|
|
class InvalidMuseumUrlException extends InvalidUrlException{
|
|
public function __construct(string $url, string $exampleUrl){
|
|
$this->message = 'Invalid museum URL: <' . $url . '>. Expected a URL like: <'. $exampleUrl . '>.';
|
|
|
|
parent::__construct($this->message);
|
|
}
|
|
}
|