Removed home.js
Added Discover
This commit is contained in:
parent
df052dab36
commit
8816f4a1a1
25 changed files with 213 additions and 145 deletions
|
|
@ -1,10 +1,12 @@
|
|||
<?php
|
||||
namespace App\Helpers;
|
||||
|
||||
use App\Models\ErrorTemplate;
|
||||
|
||||
class ErrorHandler {
|
||||
static public function show(object $meta) {
|
||||
http_response_code($meta->http_code);
|
||||
$latte = Misc::latte();
|
||||
$latte->render(Misc::getView('error'), ['error' => $meta]);
|
||||
$latte->render(Misc::getView('error'), new ErrorTemplate($meta));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue