Files
rspade_system/app/RSpade/Integrations/Jqhtml/JqhtmlExceptionRenderer.php
root 29c657f7a7 Exclude tests directory from framework publish
Add 100+ automated unit tests from .expect file specifications
Add session system test
Add rsx:constants:regenerate command test
Add rsx:logrotate command test
Add rsx:clean command test
Add rsx:manifest:stats command test
Add model enum system test
Add model mass assignment prevention test
Add rsx:check command test
Add migrate:status command test

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 03:59:58 +00:00

29 lines
685 B
PHP

<?php
namespace App\RSpade\Integrations\Jqhtml;
use Illuminate\Contracts\Foundation\ExceptionRenderer;
use App\RSpade\Integrations\Jqhtml\Jqhtml_ErrorPageRenderer;
/**
* Custom exception renderer that uses our modified error page renderer
*/
#[Instantiatable]
class JqhtmlExceptionRenderer implements ExceptionRenderer
{
protected Jqhtml_ErrorPageRenderer $errorPageHandler;
public function __construct(Jqhtml_ErrorPageRenderer $errorPageHandler)
{
$this->errorPageHandler = $errorPageHandler;
}
public function render($throwable)
{
ob_start();
$this->errorPageHandler->render($throwable);
return ob_get_clean();
}
}