Restructure how incorrect ebook URLs are redirected

This commit is contained in:
Alex Cabal 2024-11-11 13:58:10 -06:00
parent d6a2bdcbc8
commit d4c7703cf0
6 changed files with 62 additions and 72 deletions

View file

@ -1,11 +0,0 @@
<?
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);
}
}