web/lib/Exceptions/SeeOtherEbookException.php
2024-01-08 17:00:20 -06:00

11 lines
241 B
PHP

<?
namespace Exceptions;
class SeeOtherEbookException extends AppException{
public string $Url;
public function __construct(string $url = ''){
$this->Url = $url;
parent::__construct('This ebook is at a different URL: ' . $url);
}
}