TDoG-Skin/app/Exceptions/PrettyPageException.php

12 lines
228 B
PHP
Raw Normal View History

2024-08-17 18:43:48 +08:00
<?php
namespace App\Exceptions;
class PrettyPageException extends \Exception
{
public function render()
{
return response()->view('errors.pretty', ['code' => $this->code, 'message' => $this->message]);
}
}