web/lib/Exceptions/SeeOtherEbookException.php
2023-07-14 09:36:10 -05:00

11 lines
234 B
PHP

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