x_mier/think-whoops

php error handling for cool kids

v1.1 2021-01-13 13:44 UTC

This package is not auto-updated.

Last update: 2021-12-02 16:33:02 UTC


README

使用方式: // Whoops 接管请求异常

$whoops = new \Whoops\Run;
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler());
return Response::create(
    $whoops->handleException($e),
    'html',
    500
);