public static function boot() { App::error(function (Exception $exception) { var_dump($exception); }); App::error(function (RuntimeException $exception) { var_dump($exception); }); App::fatal(function ($exception) { var_dump($exception); }); }